mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
babeld: Tell zebra to send us stuff about the default vrf
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
302a2d1c83
commit
abdcf26658
@ -345,11 +345,18 @@ debug_babel_config_write (struct vty * vty)
|
|||||||
#endif /* NO_DEBUG */
|
#endif /* NO_DEBUG */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
babel_zebra_connected (struct zclient *zclient)
|
||||||
|
{
|
||||||
|
zclient_send_reg_requests (zclient, VRF_DEFAULT);
|
||||||
|
}
|
||||||
|
|
||||||
void babelz_zebra_init(void)
|
void babelz_zebra_init(void)
|
||||||
{
|
{
|
||||||
zclient = zclient_new(master);
|
zclient = zclient_new(master);
|
||||||
zclient_init(zclient, ZEBRA_ROUTE_BABEL, 0);
|
zclient_init(zclient, ZEBRA_ROUTE_BABEL, 0);
|
||||||
|
|
||||||
|
zclient->zebra_connected = babel_zebra_connected;
|
||||||
zclient->interface_add = babel_interface_add;
|
zclient->interface_add = babel_interface_add;
|
||||||
zclient->interface_delete = babel_interface_delete;
|
zclient->interface_delete = babel_interface_delete;
|
||||||
zclient->interface_up = babel_interface_up;
|
zclient->interface_up = babel_interface_up;
|
||||||
|
Loading…
Reference in New Issue
Block a user