summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-08-19 11:06:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-06 22:03:36 +0100
commit22c35834ea43ebec121c0c042bbb2ef3b6e25591 (patch)
tree2deced58e8cd0934d6d4c005824b5c21359b4756 /pimd/pim_iface.h
parentpimd: run DF election only on (*, G) termination mroutes (diff)
downloadfrr-22c35834ea43ebec121c0c042bbb2ef3b6e25591.tar.xz
frr-22c35834ea43ebec121c0c042bbb2ef3b6e25591.zip
pimd: Use PIM EVPN MLAG Infra for syncing PIM MLAG Entries
Initially, MLAG Sync is happened at pim_ifchannel, this is mainly to support even config mismatches(missing configuration of dual active). But this causes more syncs for each entry. and also it is not In-line with PIM EVPN. to avoid that moving to pm_upstream based syncing. Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r--pimd/pim_iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h
index 1b76b5230..570bf5eac 100644
--- a/pimd/pim_iface.h
+++ b/pimd/pim_iface.h
@@ -55,6 +55,7 @@
#define PIM_IF_DONT_PIM_CAN_DISABLE_JOIN_SUPRESSION(options) ((options) &= ~PIM_IF_MASK_PIM_CAN_DISABLE_JOIN_SUPRESSION)
#define PIM_I_am_DR(pim_ifp) (pim_ifp)->pim_dr_addr.s_addr == (pim_ifp)->primary_address.s_addr
+#define PIM_I_am_DualActive(pim_ifp) (pim_ifp)->activeactive == true
struct pim_iface_upstream_switch {
struct in_addr address;