mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:07:24 +00:00
Merge pull request #8869 from leonshaw/master
bgpd: Force process networks on VRF creation
This commit is contained in:
commit
c4b5d96519
@ -6182,6 +6182,7 @@ void bgp_static_add(struct bgp *bgp)
|
||||
struct bgp_table *table;
|
||||
struct bgp_static *bgp_static;
|
||||
|
||||
SET_FLAG(bgp->flags, BGP_FLAG_FORCE_STATIC_PROCESS);
|
||||
FOREACH_AFI_SAFI (afi, safi)
|
||||
for (dest = bgp_table_top(bgp->route[afi][safi]); dest;
|
||||
dest = bgp_route_next(dest)) {
|
||||
@ -6208,6 +6209,7 @@ void bgp_static_add(struct bgp *bgp)
|
||||
safi);
|
||||
}
|
||||
}
|
||||
UNSET_FLAG(bgp->flags, BGP_FLAG_FORCE_STATIC_PROCESS);
|
||||
}
|
||||
|
||||
/* Called from bgp_delete(). Delete all static routes from the BGP
|
||||
|
Loading…
Reference in New Issue
Block a user