summaryrefslogtreecommitdiffstats
path: root/babeld/babel_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-14 06:10:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-14 06:10:37 +0200
commitabdcf26658558668c80f04bd2e6868bf10a064ec (patch)
tree7e83c7d31efa8c6ca1c97d7a3bf2fc3512878da3 /babeld/babel_zebra.c
parentbabeld: Fixup redistribution display (diff)
downloadfrr-abdcf26658558668c80f04bd2e6868bf10a064ec.tar.xz
frr-abdcf26658558668c80f04bd2e6868bf10a064ec.zip
babeld: Tell zebra to send us stuff about the default vrf
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld/babel_zebra.c')
-rw-r--r--babeld/babel_zebra.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/babeld/babel_zebra.c b/babeld/babel_zebra.c
index eb121c66a..e09c26534 100644
--- a/babeld/babel_zebra.c
+++ b/babeld/babel_zebra.c
@@ -345,11 +345,18 @@ debug_babel_config_write (struct vty * vty)
#endif /* NO_DEBUG */
}
+static void
+babel_zebra_connected (struct zclient *zclient)
+{
+ zclient_send_reg_requests (zclient, VRF_DEFAULT);
+}
+
void babelz_zebra_init(void)
{
zclient = zclient_new(master);
zclient_init(zclient, ZEBRA_ROUTE_BABEL, 0);
+ zclient->zebra_connected = babel_zebra_connected;
zclient->interface_add = babel_interface_add;
zclient->interface_delete = babel_interface_delete;
zclient->interface_up = babel_interface_up;