From 1b93285ce0fb6ff8b4b86210acc4d154150c48f5 Mon Sep 17 00:00:00 2001 From: Daniel Béreš Date: Fri, 10 Mar 2023 02:35:24 -0800 Subject: nat: fix nat44 vrf handlers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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š (cherry picked from commit 2c03879ce45c6568da015c01d85300eef147ece7) --- src/plugins/nat/nat44-ed/nat44_ed_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plugins/nat/nat44-ed/nat44_ed_api.c b/src/plugins/nat/nat44-ed/nat44_ed_api.c index c430429947e..612f6a09f07 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 -- cgit 1.2.3-korg