summaryrefslogtreecommitdiffstats
path: root/babeld
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 /babeld
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 'babeld')
-rw-r--r--babeld/babel_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_zebra.c b/babeld/babel_zebra.c
index 337b7b392..e7c27e8e2 100644
--- a/babeld/babel_zebra.c
+++ b/babeld/babel_zebra.c
@@ -238,7 +238,7 @@ babel_zebra_connected (struct zclient *zclient)
void babelz_zebra_init(void)
{
zclient = zclient_new(master);
- zclient_init(zclient, ZEBRA_ROUTE_BABEL, 0);
+ zclient_init(zclient, ZEBRA_ROUTE_BABEL, 0, &babeld_privs);
zclient->zebra_connected = babel_zebra_connected;
zclient->interface_add = babel_interface_add;