pimd: Send join when a S,G is pruned

When a *,G is received, and we have S,G that is in a
non-joined state, Send the join to the S,G.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-08-02 11:39:16 -04:00
parent cfa91a8733
commit fa1a4e366b

View File

@ -116,7 +116,9 @@ static void recv_join(struct interface *ifp,
__FILE__, __PRETTY_FUNCTION__, __FILE__, __PRETTY_FUNCTION__,
buff, pim_str_sg_dump (&sg)); buff, pim_str_sg_dump (&sg));
pim_channel_add_oif (up->channel_oil, ifp, PIM_OIF_FLAG_PROTO_PIM); pim_channel_add_oif (child->channel_oil, ifp, PIM_OIF_FLAG_PROTO_PIM);
if (child->join_state != PIM_UPSTREAM_JOINED)
pim_upstream_switch (child, PIM_UPSTREAM_JOINED);
} }
} }
} }