From 66729533f101180c63b5fe75e4d9d3e3a0635e24 Mon Sep 17 00:00:00 2001 From: Takayuki Shiroma Date: Wed, 23 Sep 2026 13:00:15 +0900 Subject: bgp: T9345: restore named-VRF AFI validation --- src/conf_mode/protocols_bgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py index bde6fcdd0..2b7bdce97 100755 --- a/src/conf_mode/protocols_bgp.py +++ b/src/conf_mode/protocols_bgp.py @@ -467,7 +467,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', -- cgit v1.2.3