aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Béreš <d.beres@outlook.sk>2023-03-10 02:35:24 -0800
committerOle Tr�an <otroan@employees.org>2023-03-31 12:43:45 +0000
commit2c03879ce45c6568da015c01d85300eef147ece7 (patch)
treefa57cd829ae0188eae29d66045df2f9bee617e1f
parentb23c6f4f29b53afa6be2735b30b08fcb115f20cc (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>
-rw-r--r--src/plugins/nat/nat44-ed/nat44_ed_api.c4
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