]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Stop leaving pim_register_recv early
authorDonald Sharp <sharpd@cumulusnetwroks.com>
Sat, 23 Jul 2016 07:36:25 +0000 (03:36 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:03 +0000 (20:26 -0500)
When we received a pim_register_recv we were shortcutting
the algorithm to determine what to do when we receive
a register pim message.

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

index 480c5e36cf2e26d312495b7de0dc105e1b684021..312e91782786154c87e0da71d6b8427ad939b72a 100644 (file)
@@ -320,12 +320,6 @@ pim_register_recv (struct interface *ifp,
        pim_upstream_switch (upstream, PIM_UPSTREAM_PRUNE);
       }
 
-    if (upstream->join_state == PIM_UPSTREAM_PRUNE)
-      {
-       pim_register_stop_send (ifp, &sg, src_addr);
-       return 1;
-      }
-
     if ((upstream->sptbit == PIM_UPSTREAM_SPTBIT_TRUE) ||
        ((SwitchToSptDesired(&sg)) &&
         (inherited_olist(source, group) == NULL))) {