summaryrefslogtreecommitdiff
path: root/pimd/pim_ifchannel.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-25 14:47:04 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-30 12:51:45 -0500
commitf663aa7ad4028905632fdc4d6801522b8a17f731 (patch)
tree66dddbda48474bade37486df3409048ff730a3e1 /pimd/pim_ifchannel.h
parentdc0665f1509725bab4c0c20031a06ff80cfc36f8 (diff)
pimd: Use correct flag to add an oif
When we are creating the igmp ifchannel we were creating it with both a P and a I flag. This was causing it to not be cleaned up properly when the interface was shut down. Subsuquently when the interface came back up we would attempt to add it back in but it would fail. Ticket: CM-14586 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_ifchannel.h')
-rw-r--r--pimd/pim_ifchannel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_ifchannel.h b/pimd/pim_ifchannel.h
index bfe632135c..a3dc0e9d83 100644
--- a/pimd/pim_ifchannel.h
+++ b/pimd/pim_ifchannel.h
@@ -130,8 +130,8 @@ void pim_ifchannel_prune(struct interface *ifp,
struct prefix_sg *sg,
uint8_t source_flags,
uint16_t holdtime);
-void pim_ifchannel_local_membership_add(struct interface *ifp,
- struct prefix_sg *sg);
+int pim_ifchannel_local_membership_add(struct interface *ifp,
+ struct prefix_sg *sg);
void pim_ifchannel_local_membership_del(struct interface *ifp,
struct prefix_sg *sg);