summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pimd/pim_join.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c
index c92be18ddf..08c1c7b93a 100644
--- a/pimd/pim_join.c
+++ b/pimd/pim_join.c
@@ -210,6 +210,8 @@ static void recv_prune(struct interface *ifp,
__FILE__, __PRETTY_FUNCTION__,
buff, pim_str_sg_dump (&child->sg));
}
+ if (!c_oil)
+ continue;
if (!pim_upstream_evaluate_join_desired (child))
pim_channel_del_oif (c_oil, ifp, PIM_OIF_FLAG_PROTO_PIM);