summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.h
diff options
context:
space:
mode:
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;