Repair SNAT's IPFIX and IF-add-del test functions.
Inspection shows that the names of two functions: api_snat_ipfix_enable_disable() api_snat_add_del_interface_addr() don't match their bodies and have been swapped. Make the world right again by swapping them to match. Change-Id: Ieefd7f0fdbf52794e8649b0cbbcf6e1403c1b90a Signed-off-by: Jon Loeliger <jdl@netgate.com>
This commit is contained in:

committed by
Dave Barach

parent
694396dc58
commit
d45602078d
@ -540,7 +540,7 @@ static int api_snat_worker_dump(vat_main_t * vam)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int api_snat_ipfix_enable_disable (vat_main_t * vam)
|
||||
static int api_snat_add_del_interface_addr (vat_main_t * vam)
|
||||
{
|
||||
unformat_input_t * i = vam->input;
|
||||
vl_api_snat_add_del_interface_addr_t * mp;
|
||||
@ -611,7 +611,7 @@ static int api_snat_interface_addr_dump(vat_main_t * vam)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int api_snat_add_del_interface_addr (vat_main_t * vam)
|
||||
static int api_snat_ipfix_enable_disable (vat_main_t * vam)
|
||||
{
|
||||
unformat_input_t * i = vam->input;
|
||||
vl_api_snat_ipfix_enable_disable_t * mp;
|
||||
|
Reference in New Issue
Block a user