diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-18 08:13:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:21:00 -0500 |
| commit | ac567a6f4a21608ffe5c3c6e35f0c992f52f7d56 (patch) | |
| tree | 6ca5a03e7623baf7355ac821315a7be239e2f60b /pimd/pim_zebra.c | |
| parent | 02c0866dbee8b1ecfec3bcf7167f35e24eceede9 (diff) | |
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>
Diffstat (limited to 'pimd/pim_zebra.c')
| -rw-r--r-- | pimd/pim_zebra.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 10ea17cf1f..b205de11e1 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -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; |
