summaryrefslogtreecommitdiffstats
path: root/vrrpd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-04-22 20:03:30 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commit4f576e7575f9c1f4b017374a990906130d00dfdd (patch)
tree171410c02a9335f588190ea81266e67ae3a9010e /vrrpd
parentvrrpd: use frr_elevate_privs (diff)
downloadfrr-4f576e7575f9c1f4b017374a990906130d00dfdd.tar.xz
frr-4f576e7575f9c1f4b017374a990906130d00dfdd.zip
lib, vrrpd: define & use ZEBRA_ROUTE_VRRP
Allow Zebra to know our protocol name. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd')
-rw-r--r--vrrpd/vrrp_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c
index 8d5a6453e..7503034de 100644
--- a/vrrpd/vrrp_zebra.c
+++ b/vrrpd/vrrp_zebra.c
@@ -246,7 +246,7 @@ void vrrp_zebra_init(void)
zclient->interface_address_add = vrrp_zebra_if_address_add;
zclient->interface_address_delete = vrrp_zebra_if_address_del;
- zclient_init(zclient, 0, 0, &vrrp_privs);
+ zclient_init(zclient, ZEBRA_ROUTE_VRRP, 0, &vrrp_privs);
zlog_notice("%s: zclient socket initialized", __PRETTY_FUNCTION__);
}