forked from Mirror/frr
pimd: Stop leaving pim_register_recv early
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>
This commit is contained in:
parent
a3b58b4a14
commit
7a60249e36
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue