summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-06-03 18:12:32 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-06-03 19:05:41 +0200
commitdf94b33a6e451fe8f81c83d17f4b8812f992ca9e (patch)
tree43bada4f4c89651650fd08b7f008599121caa323 /pimd/pim_oil.c
parentMerge pull request #6506 from volta-networks/ldp_pwstatus_cleanup (diff)
downloadfrr-df94b33a6e451fe8f81c83d17f4b8812f992ca9e.tar.xz
frr-df94b33a6e451fe8f81c83d17f4b8812f992ca9e.zip
pimd: Fix missing code
Found some more missing code that got dropped during the upstreaming process causing issues with things actually working. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r--pimd/pim_oil.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c
index 21febcc96..3ec0720fc 100644
--- a/pimd/pim_oil.c
+++ b/pimd/pim_oil.c
@@ -375,6 +375,20 @@ static bool pim_channel_eval_oif_mute(struct channel_oil *c_oil,
return do_mute;
}
+ if (PIM_I_am_DualActive(pim_ifp)) {
+ struct pim_upstream *starup = c_oil->up->parent;
+ if (PIM_UPSTREAM_FLAG_TEST_MLAG_INTERFACE(c_oil->up->flags)
+ && (PIM_UPSTREAM_FLAG_TEST_MLAG_NON_DF(c_oil->up->flags)))
+ do_mute = true;
+
+ /* In case entry is (S,G), Negotiation happens at (*.G) */
+ if (starup
+
+ && PIM_UPSTREAM_FLAG_TEST_MLAG_INTERFACE(starup->flags)
+ && (PIM_UPSTREAM_FLAG_TEST_MLAG_NON_DF(starup->flags)))
+ do_mute = true;
+ return do_mute;
+ }
return do_mute;
}