From 16b7259142467de43856bd7dcfe2667611434af0 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 23 Sep 2016 11:10:31 -0400 Subject: [PATCH] pimd: Track upstream state a bit better. Track the upstream state if we are adding a new state to a pre-existing upstream. Signed-off-by: Donald Sharp --- pimd/pim_upstream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index 027a4ca0c4..138843405b 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -569,6 +569,7 @@ struct pim_upstream *pim_upstream_add(struct prefix_sg *sg, up = pim_upstream_find(sg); if (up) { ++up->ref_count; + up->flags |= flags; } else { up = pim_upstream_new(sg, incoming, flags); -- 2.39.5