mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 02:17:12 +00:00
pimd: Add the reading of capabilities on startup.
Just add the ability to notice the capabilities on startup, but don't do anything with it yet. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
02c0866dbe
commit
ac567a6f4a
@ -743,11 +743,19 @@ static void pim_zebra_connected(struct zclient *zclient)
|
||||
zclient_send_reg_requests(zclient, pimg->vrf_id);
|
||||
}
|
||||
|
||||
static void pim_zebra_capabilities(struct zclient_capabilities *cap)
|
||||
{
|
||||
/*
|
||||
* Don't do anything with this data yet
|
||||
*/
|
||||
}
|
||||
|
||||
void pim_zebra_init(void)
|
||||
{
|
||||
/* Socket for receiving updates from Zebra daemon */
|
||||
zclient = zclient_new(master, &zclient_options_default);
|
||||
|
||||
zclient->zebra_capabilities = pim_zebra_capabilities;
|
||||
zclient->zebra_connected = pim_zebra_connected;
|
||||
zclient->router_id_update = pim_router_id_update_zebra;
|
||||
zclient->interface_add = pim_zebra_if_add;
|
||||
|
Loading…
Reference in New Issue
Block a user