summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-21 09:30:54 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 12:23:39 -0500
commitd6749d74c64cc333ef2d7f7d8c23c08fc390967b (patch)
treec78524dadc779bf1c7fffbe3cc9e693acf060218 /pimd/pim_zebra.c
parent4dfe9ad26e3bac45674d36d1c79fb66759eb0060 (diff)
pimd: Store the router mlag role
When we are told about the mlag role, store it for later usage. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 7f9ef341ad..b7111cf7bf 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -745,9 +745,7 @@ static void pim_zebra_connected(struct zclient *zclient)
static void pim_zebra_capabilities(struct zclient_capabilities *cap)
{
- /*
- * Don't do anything with this data yet
- */
+ router->role = cap->role;
}
void pim_zebra_init(void)