nat: fix nat44 vrf handlers
Change of enums used in REPLY_MACRO() to appropriate one for handlers: -vl_api_nat44_ed_add_del_vrf_table_t_handler -vl_api_nat44_ed_add_del_vrf_route_t_handler Type: fix Change-Id: I58e97817b1678da7c025c0d03a8b938a4e0f7b6c Signed-off-by: Daniel Béreš <daniel.beres@pantheon.tech> (cherry picked from commit 2c03879ce45c6568da015c01d85300eef147ece7)
This commit is contained in:
parent
57302fe52f
commit
1b93285ce0
@ -1202,7 +1202,7 @@ vl_api_nat44_ed_add_del_vrf_table_t_handler (
|
||||
vl_api_nat44_ed_add_del_vrf_table_reply_t *rmp;
|
||||
int rv = nat44_ed_add_del_vrf_table (clib_net_to_host_u32 (mp->table_vrf_id),
|
||||
mp->is_add);
|
||||
REPLY_MACRO (VL_API_NAT44_ED_ADD_DEL_VRF_TABLE);
|
||||
REPLY_MACRO (VL_API_NAT44_ED_ADD_DEL_VRF_TABLE_REPLY);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1214,7 +1214,7 @@ vl_api_nat44_ed_add_del_vrf_route_t_handler (
|
||||
int rv =
|
||||
nat44_ed_add_del_vrf_route (clib_net_to_host_u32 (mp->table_vrf_id),
|
||||
clib_net_to_host_u32 (mp->vrf_id), mp->is_add);
|
||||
REPLY_MACRO (VL_API_NAT44_ED_ADD_DEL_VRF_ROUTE);
|
||||
REPLY_MACRO (VL_API_NAT44_ED_ADD_DEL_VRF_ROUTE_REPLY);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user