summaryrefslogtreecommitdiffstats
path: root/pimd/pim_instance.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-21 15:30:54 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:23:39 +0100
commitd6749d74c64cc333ef2d7f7d8c23c08fc390967b (patch)
treec78524dadc779bf1c7fffbe3cc9e693acf060218 /pimd/pim_instance.h
parentpimd: Remove pimg (diff)
downloadfrr-d6749d74c64cc333ef2d7f7d8c23c08fc390967b.tar.xz
frr-d6749d74c64cc333ef2d7f7d8c23c08fc390967b.zip
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_instance.h')
-rw-r--r--pimd/pim_instance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h
index e40397d9c..e651356bf 100644
--- a/pimd/pim_instance.h
+++ b/pimd/pim_instance.h
@@ -21,6 +21,8 @@
#ifndef __PIM_INSTANCE_H__
#define __PIM_INSTANCE_H__
+#include <mlag.h>
+
#include "pim_str.h"
#include "pim_msdp.h"
#include "pim_assert.h"
@@ -58,6 +60,8 @@ struct pim_router {
* What is the default vrf that we work in
*/
vrf_id_t vrf_id;
+
+ enum mlag_role role;
};
/* Per VRF PIM DB */