mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 01:37:53 +00:00
Revert "bgpd: vrf route leaking, fix the bgp instance delete and re-add"
This reverts commit ef7c53e244
.
This commit is contained in:
parent
315ceb1274
commit
0f0a5c2aed
@ -125,12 +125,7 @@ int bgp_router_create(struct nb_cb_create_args *args)
|
|||||||
if (is_new_bgp && inst_type == BGP_INSTANCE_TYPE_DEFAULT)
|
if (is_new_bgp && inst_type == BGP_INSTANCE_TYPE_DEFAULT)
|
||||||
vpn_leak_postchange_all();
|
vpn_leak_postchange_all();
|
||||||
|
|
||||||
/*
|
if (inst_type == BGP_INSTANCE_TYPE_VRF)
|
||||||
* Check if we need to export to other VRF(s).
|
|
||||||
* Leak the routes to importing bgp vrf instances,
|
|
||||||
* only when new bgp vrf instance is configured.
|
|
||||||
*/
|
|
||||||
if (ret != BGP_INSTANCE_EXISTS)
|
|
||||||
bgp_vpn_leak_export(bgp);
|
bgp_vpn_leak_export(bgp);
|
||||||
|
|
||||||
UNSET_FLAG(bgp->vrf_flags, BGP_VRF_AUTO);
|
UNSET_FLAG(bgp->vrf_flags, BGP_VRF_AUTO);
|
||||||
|
Loading…
Reference in New Issue
Block a user