From: Donald Sharp Date: Thu, 11 Aug 2016 12:08:28 +0000 (-0400) Subject: pimd: Set spt bit when we receive first packet on RP X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~293 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4712642e11f540e5c6e611afee9a699579c960fe;p=mirror%2Ffrr.git pimd: Set spt bit when we receive first packet on RP When on the RP, if we receive the first correctly routed mroute from upstream, Set the SPT bit so that the state machine will work properly. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 9460219f13..8426a4add5 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -354,6 +354,7 @@ pim_mroute_msg_wrvifwhole (int fd, struct interface *ifp, const char *buf) pim_nexthop_lookup (&source, up->upstream_register, NULL); pim_register_stop_send(source.interface, &sg, up->upstream_register); //Send S bit down the join. + up->sptbit = PIM_UPSTREAM_SPTBIT_TRUE; return 0; }