mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 07:15:19 +00:00
Merge pull request #16491 from opensourcerouting/fix/crash_bgp_auto_vrf
bgpd: Do not process VRF import/export to/from auto created VRF instances
This commit is contained in:
commit
593677ba05
@ -3734,6 +3734,9 @@ void vpn_leak_postchange_all(void)
|
||||
if (bgp->inst_type != BGP_INSTANCE_TYPE_VRF)
|
||||
continue;
|
||||
|
||||
if (CHECK_FLAG(bgp->vrf_flags, BGP_VRF_AUTO))
|
||||
continue;
|
||||
|
||||
vpn_leak_postchange(
|
||||
BGP_VPN_POLICY_DIR_TOVPN,
|
||||
AFI_IP,
|
||||
@ -3753,6 +3756,9 @@ void vpn_leak_postchange_all(void)
|
||||
if (bgp->inst_type != BGP_INSTANCE_TYPE_VRF)
|
||||
continue;
|
||||
|
||||
if (CHECK_FLAG(bgp->vrf_flags, BGP_VRF_AUTO))
|
||||
continue;
|
||||
|
||||
vpn_leak_postchange(
|
||||
BGP_VPN_POLICY_DIR_FROMVPN,
|
||||
AFI_IP,
|
||||
|
@ -1703,7 +1703,7 @@ DEFUN (no_router_bgp,
|
||||
continue;
|
||||
|
||||
if (CHECK_FLAG(tmp_bgp->vrf_flags, BGP_VRF_AUTO))
|
||||
continue;
|
||||
bgp_delete(tmp_bgp);
|
||||
|
||||
if (CHECK_FLAG(
|
||||
tmp_bgp->af_flags[AFI_IP]
|
||||
|
Loading…
Reference in New Issue
Block a user