summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-24 20:30:37 +0200
committerGitHub <noreply@github.com>2026-09-24 20:30:37 +0200
commit4e3e38a2e665bb2d8e9446116e02300bb38a2ab4 (patch)
tree44c5f8eef7c9075fd867df8c95e79df4e8546c8f /src
parent27049161081a04429e171fc5f16c38437f1e5bca (diff)
parent66729533f101180c63b5fe75e4d9d3e3a0635e24 (diff)
downloadvyos-1x-4e3e38a2e665bb2d8e9446116e02300bb38a2ab4.tar.gz
vyos-1x-4e3e38a2e665bb2d8e9446116e02300bb38a2ab4.zip
Merge pull request #5494 from t-shiro/fix/T9345-vrf-address-family-config-validation
bgp: T9345: restore named-VRF AFI validation
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/protocols_bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py
index 03d424aa2..9b5e8a8e6 100755
--- a/src/conf_mode/protocols_bgp.py
+++ b/src/conf_mode/protocols_bgp.py
@@ -465,7 +465,7 @@ def verify(config_dict):
# route-reflector-client verification has been moved to neighbor-only part
# T5833 not all AFIs are supported for VRF
- if 'vrf' in bgp and 'address_family' in peer_config:
+ if vrf and 'address_family' in peer_config:
unsupported_vrf_afi = {
'ipv4_flowspec',
'ipv6_flowspec',