From 1405c852fc8545266ed775f18a3ed97e09200eb5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 10 Nov 2016 10:25:36 -0500 Subject: pimd: Add code to handle pim prune(S,G) with sptbit Add some more code to handle the prune(S,G) with the sptbit set. Turns this ifchannel into a (S,G,rpt). Signed-off-by: Donald Sharp --- pimd/pim_join.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pimd/pim_join.c') diff --git a/pimd/pim_join.c b/pimd/pim_join.c index 7f5c46004..42d4a5187 100644 --- a/pimd/pim_join.c +++ b/pimd/pim_join.c @@ -127,7 +127,6 @@ static void recv_join(struct interface *ifp, } } } - } static void recv_prune(struct interface *ifp, @@ -352,8 +351,8 @@ int pim_joinprune_recv(struct interface *ifp, if (sg.src.s_addr == INADDR_ANY) { ch = pim_ifchannel_find (ifp, &sg); - if (ch) - pim_ifchannel_set_star_g_join_state (ch, 0); + if (ch) + pim_ifchannel_set_star_g_join_state (ch, 0); } } -- cgit v1.2.3