mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 04:26:12 +00:00
pimd: Start switchover to using a PRUNE (S,G) for uninteresting streams
When we receive a register for a (S,G) that we have no interest in prune it off and send the register stop. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
5e08fee1e1
commit
9fd309db2d
@ -313,6 +313,12 @@ pim_register_recv (struct interface *ifp,
|
|||||||
* If we don't have a place to send ignore the packet
|
* If we don't have a place to send ignore the packet
|
||||||
*/
|
*/
|
||||||
if (!upstream)
|
if (!upstream)
|
||||||
|
{
|
||||||
|
upstream = pim_upstream_add (source, group, ifp);
|
||||||
|
pim_upstream_switch (upstream, PIM_UPSTREAM_PRUNE);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (upstream->join_state == PIM_UPSTREAM_PRUNE)
|
||||||
{
|
{
|
||||||
pim_register_stop_send (ifp, source, group, src_addr);
|
pim_register_stop_send (ifp, source, group, src_addr);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user