summaryrefslogtreecommitdiff
path: root/pimd/pim_join.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-04 11:44:11 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:05 -0500
commit6029d31f7c01651da8aa3ce49f34dc73e2b6c015 (patch)
tree67a664ca1d7aa53a6dd2ba0f4b85c4f9dfe936df /pimd/pim_join.c
parent872439346dcd717f38f259b830d6ff425e701e83 (diff)
pimd: Was removing the wrong channel.
When receiving a prune (*,G), we were removing from the wrong channel. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_join.c')
-rw-r--r--pimd/pim_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c
index 7e0f268f9b..6385bb7124 100644
--- a/pimd/pim_join.c
+++ b/pimd/pim_join.c
@@ -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);
}
}
}