summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-11 16:37:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-24 00:12:29 +0200
commit342213eac063ad7fd215345d9beae80287608df7 (patch)
tree78c638fbc18aa6fccf8bb2bee6418c92805009dc /ripd
parentripngd: Make 'struct zebra_privs_t' available (diff)
downloadfrr-342213eac063ad7fd215345d9beae80287608df7.tar.xz
frr-342213eac063ad7fd215345d9beae80287608df7.zip
*: Modify zclient_init to require privs data
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index 28144a243..3772f6223 100644
--- a/ripd/rip_zebra.c
+++ b/ripd/rip_zebra.c
@@ -586,7 +586,7 @@ void rip_zclient_init(struct thread_master *master)
{
/* Set default value to the zebra client structure. */
zclient = zclient_new(master);
- zclient_init(zclient, ZEBRA_ROUTE_RIP, 0);
+ zclient_init(zclient, ZEBRA_ROUTE_RIP, 0, &ripd_privs);
zclient->zebra_connected = rip_zebra_connected;
zclient->interface_add = rip_interface_add;
zclient->interface_delete = rip_interface_delete;