diff options
author | 2023-03-10 02:35:24 -0800 | |
---|---|---|
committer | 2023-03-31 15:24:48 +0000 | |
commit | 6206eaba4eb5e8c312ac1c4b2023180e8cfd6c07 (patch) | |
tree | a63e2ae41c1480ba821ba6ba8b2a706aebc37ceb /src/plugins/nat | |
parent | c4cccb444a68fea3af85e5c265ad7f97a7c703a6 (diff) |
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)
Diffstat (limited to 'src/plugins/nat')
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed_api.c b/src/plugins/nat/nat44-ed/nat44_ed_api.c index 56e29601f35..681fcc0a50b 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_api.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_api.c @@ -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 |