diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 09:30:54 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:23:39 -0500 | 
| commit | d6749d74c64cc333ef2d7f7d8c23c08fc390967b (patch) | |
| tree | c78524dadc779bf1c7fffbe3cc9e693acf060218 /pimd/pim_instance.h | |
| parent | 4dfe9ad26e3bac45674d36d1c79fb66759eb0060 (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_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 e40397d9c4..e651356bfe 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 */  | 
