summaryrefslogtreecommitdiff
path: root/pimd/pim_ifchannel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-17 13:40:53 -0400
committerGitHub <noreply@github.com>2020-03-17 13:40:53 -0400
commit7967afda0799711bf4ce3bfe8b8b51ceb179376e (patch)
tree10c8375b68a214451ce4c3759311b8d37353ddd9 /pimd/pim_ifchannel.c
parent136b3d67dbdc7408c570ef1560ea8345b8f810ca (diff)
parent9443810eef5d2de2d932600cf058ee030baa6d47 (diff)
Merge pull request #5880 from patrasar/2371558
pimd: fix OIL not removed after IGMP prune
Diffstat (limited to 'pimd/pim_ifchannel.c')
-rw-r--r--pimd/pim_ifchannel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c
index 44d4ee7192..70e06ccc4e 100644
--- a/pimd/pim_ifchannel.c
+++ b/pimd/pim_ifchannel.c
@@ -628,6 +628,12 @@ struct pim_ifchannel *pim_ifchannel_add(struct interface *ifp,
up->dualactive_ifchannel_count, up->flags);
}
+ if (up_flags == PIM_UPSTREAM_FLAG_MASK_SRC_PIM)
+ PIM_IF_FLAG_SET_PROTO_PIM(ch->flags);
+
+ if (up_flags == PIM_UPSTREAM_FLAG_MASK_SRC_IGMP)
+ PIM_IF_FLAG_SET_PROTO_IGMP(ch->flags);
+
if (PIM_DEBUG_PIM_TRACE)
zlog_debug("%s: ifchannel %s(%s) is created ", __func__,
ch->sg_str, ch->interface->name);