From abdcf26658558668c80f04bd2e6868bf10a064ec Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 14 May 2017 00:10:37 -0400 Subject: [PATCH] babeld: Tell zebra to send us stuff about the default vrf Signed-off-by: Donald Sharp --- babeld/babel_zebra.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/babeld/babel_zebra.c b/babeld/babel_zebra.c index eb121c66a5..e09c265347 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; -- 2.39.5