From 33c08518737977322c1185e97c94a75ac198726d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 19 Aug 2021 11:31:05 -0400 Subject: zebra: Fix usage to enum in notify functions For some reason commit #ef524230a6baa decided to remove enums and switch to uint16_t. Which is not the right thing to do. Put it back Signed-off-by: Donald Sharp --- zebra/zapi_msg.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'zebra/zapi_msg.h') diff --git a/zebra/zapi_msg.h b/zebra/zapi_msg.h index e991dca4f..dad40c200 100644 --- a/zebra/zapi_msg.h +++ b/zebra/zapi_msg.h @@ -87,11 +87,12 @@ extern void zsend_rule_notify_owner(const struct zebra_dplane_ctx *ctx, enum zapi_rule_notify_owner note); extern void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx, - uint16_t note); + enum zapi_iptable_notify_owner note); extern void zsend_ipset_notify_owner(const struct zebra_dplane_ctx *ctx, - uint16_t note); -extern void zsend_ipset_entry_notify_owner(const struct zebra_dplane_ctx *ctx, - uint16_t note); + enum zapi_ipset_notify_owner note); +extern void +zsend_ipset_entry_notify_owner(const struct zebra_dplane_ctx *ctx, + enum zapi_ipset_entry_notify_owner note); extern bool zserv_nexthop_num_warn(const char *caller, const struct prefix *p, const unsigned int nexthop_num); -- cgit v1.2.3