From 46c8aab88af4aa4ab2aca68ee854aed43227260f Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 10 Nov 2016 21:08:48 -0500 Subject: [PATCH] pimd: Add (-) PRUNE(S,G,rpt) from interface determination. When determining the inherited_olist(S,G) add the determination that we have received a prune(S,G,rpt) from a neighbor. Signed-off-by: Donald Sharp --- pimd/pim_upstream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index 8552966782..2596f8c6e1 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -658,7 +658,11 @@ pim_upstream_evaluate_join_desired_interface (struct pim_upstream *up, { if (!pim_macro_ch_lost_assert(ch) && pim_macro_chisin_joins_or_include(ch)) return 1; + + if (PIM_IF_FLAG_TEST_S_G_RPT(ch->flags)) + return 0; } + /* * joins (*,G) */ -- 2.39.5