diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-10 16:25:36 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:14 +0100 |
commit | 1405c852fc8545266ed775f18a3ed97e09200eb5 (patch) | |
tree | dedfa2b526cebc02a6414ba73613e7eced9b2d56 /pimd/pim_join.c | |
parent | pimd: Write pim_upstream_empty_inherited_olist (diff) | |
download | frr-1405c852fc8545266ed775f18a3ed97e09200eb5.tar.xz frr-1405c852fc8545266ed775f18a3ed97e09200eb5.zip |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_join.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } } |