summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-06-02 21:54:50 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-06-02 21:57:41 -0400
commitac6ebcb0dbb6a07f29a63c7e5941050b6d95d933 (patch)
tree45b25e9dd501860ee66c91afbad400738edb017d
parentedfdfe201abb16b3a743208d5c47ea8e128e1a47 (diff)
pimd: Allow mlag to create ifchannel
When the mlag code was ported upstream the structure of the calls in igmp_source_forward_start had been reset and as a result we missed the call to check that creating an ifchannel when we are DualActive is allowed. Ticket: CM-29941 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 8355c2099d..d089dfda51 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -728,7 +728,7 @@ void igmp_source_forward_start(struct pim_instance *pim,
}
}
- if (PIM_I_am_DR(pim_oif)) {
+ if (PIM_I_am_DR(pim_oif) || PIM_I_am_DualActive(pim_oif)) {
result = pim_channel_add_oif(source->source_channel_oil,
group->group_igmp_sock->interface,
PIM_OIF_FLAG_PROTO_IGMP, __func__);