mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 21:54:01 +00:00
bgpd rfapi: RR replated (Issue #91) treat filtered update
as implicit withdraw for rfapi Signed-off-by: G. Paul Ziemba <paulz@labn.net>
This commit is contained in:
parent
e46538e628
commit
97736e321b
@ -2832,6 +2832,17 @@ bgp_update (struct peer *peer, struct prefix *p, u_int32_t addpath_id,
|
|||||||
|
|
||||||
bgp_unlock_node (rn);
|
bgp_unlock_node (rn);
|
||||||
|
|
||||||
|
#if ENABLE_BGP_VNC
|
||||||
|
/*
|
||||||
|
* Filtered update is treated as an implicit withdrawal (see bgp_rib_remove()
|
||||||
|
* a few lines above)
|
||||||
|
*/
|
||||||
|
if ((SAFI_MPLS_VPN == safi) || (SAFI_ENCAP == safi))
|
||||||
|
{
|
||||||
|
rfapiProcessWithdraw(peer, NULL, p, prd, NULL, afi, safi, type, 0);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user