summaryrefslogtreecommitdiff
path: root/vrrpd/vrrp_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-11-11 14:14:37 -0500
committerDonald Sharp <sharpd@nvidia.com>2020-11-15 15:04:52 -0500
commit7cfdb48554329b1fb7d0469d0ebf2bfa816c5eea (patch)
tree50d3a706d34cd135865356c0d95f04511497510b /vrrpd/vrrp_zebra.h
parent8a3f8f2e4ae1e8aaa3666fd8d38780e753bc09e7 (diff)
*: Convert all usage of zclient_send_message to new enum
The `enum zclient_send_status` enum needs to be extended throughout the code base to use the new states and to fix up places where we tested against the return value being non zero. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'vrrpd/vrrp_zebra.h')
-rw-r--r--vrrpd/vrrp_zebra.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vrrpd/vrrp_zebra.h b/vrrpd/vrrp_zebra.h
index 02d7055b86..c09943dcef 100644
--- a/vrrpd/vrrp_zebra.h
+++ b/vrrpd/vrrp_zebra.h
@@ -26,8 +26,8 @@
extern void vrrp_zebra_init(void);
extern void vrrp_zebra_radv_set(struct vrrp_router *r, bool enable);
-extern int vrrp_zclient_send_interface_protodown(struct interface *ifp,
- bool down);
+extern void vrrp_zclient_send_interface_protodown(struct interface *ifp,
+ bool down);
extern int vrrp_ifp_create(struct interface *ifp);
extern int vrrp_ifp_up(struct interface *ifp);