]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Was removing the wrong channel.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 4 Aug 2016 15:44:11 +0000 (11:44 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:05 +0000 (20:26 -0500)
When receiving a prune (*,G), we were removing
from the wrong channel.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_join.c

index 7e0f268f9bb45b0105127a106cccb7b288b093ac..6385bb71242c7bb5956ca58264179d8c700a5c42 100644 (file)
@@ -181,7 +181,7 @@ static void recv_prune(struct interface *ifp,
              zlog_debug("%s %s: Prune(S,G)=%s from %s",
                         __FILE__, __PRETTY_FUNCTION__,
                         buff, pim_str_sg_dump (&sg));
-             pim_channel_del_oif (up->channel_oil, ifp, PIM_OIF_FLAG_PROTO_PIM);
+             pim_channel_del_oif (child->channel_oil, ifp, PIM_OIF_FLAG_PROTO_PIM);
            }
         }
     }