]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Fix SPT bit initial setting
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 12 Nov 2015 15:54:04 +0000 (07:54 -0800)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:35 +0000 (20:38 -0400)
The initial setting of the SPT bit was incorrect.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_upstream.c

index c0351708753079f74afea73e6bbef7aa52d7210f..ff69069951577d5ed51b16ebbad29f2a71c39c24 100644 (file)
@@ -380,7 +380,7 @@ static struct pim_upstream *pim_upstream_new(struct in_addr source_addr,
   up->join_state                 = 0;
   up->state_transition           = pim_time_monotonic_sec();
   up->channel_oil                = NULL;
-  up->sptbit                     = PIM_UPSTREAM_SPTBIT_TRUE;
+  up->sptbit                     = PIM_UPSTREAM_SPTBIT_FALSE;
 
   up->rpf.source_nexthop.interface                = 0;
   up->rpf.source_nexthop.mrib_nexthop_addr.s_addr = PIM_NET_INADDR_ANY;