diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 15:30:54 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 18:23:39 +0100 |
commit | d6749d74c64cc333ef2d7f7d8c23c08fc390967b (patch) | |
tree | c78524dadc779bf1c7fffbe3cc9e693acf060218 /pimd/pim_instance.h | |
parent | pimd: Remove pimg (diff) | |
download | frr-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.h | 4 |
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 */ |