diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-25 20:47:04 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-30 18:51:45 +0100 |
commit | f663aa7ad4028905632fdc4d6801522b8a17f731 (patch) | |
tree | 66dddbda48474bade37486df3409048ff730a3e1 /pimd/pim_ifchannel.h | |
parent | pimd: Handle assignment of vif index better (diff) | |
download | frr-f663aa7ad4028905632fdc4d6801522b8a17f731.tar.xz frr-f663aa7ad4028905632fdc4d6801522b8a17f731.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_ifchannel.h b/pimd/pim_ifchannel.h index bfe632135..a3dc0e9d8 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); |