From 0d82dfa3725a23969fd6ae02b76b135a29be6df3 Mon Sep 17 00:00:00 2001 From: khramshinr Date: Thu, 28 Mar 2024 16:01:30 +0800 Subject: dhcp-server: T4718: Listen-address is not commit if the ip address is on the interface with vrf --- src/conf_mode/service_dhcp-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/service_dhcp-server.py b/src/conf_mode/service_dhcp-server.py index ba3d69b07..bf4454fda 100755 --- a/src/conf_mode/service_dhcp-server.py +++ b/src/conf_mode/service_dhcp-server.py @@ -316,7 +316,7 @@ def verify(dhcp): raise ConfigError(f'Invalid CA certificate specified for DHCP high-availability') for address in (dict_search('listen_address', dhcp) or []): - if is_addr_assigned(address): + if is_addr_assigned(address, include_vrf=True): listen_ok = True # no need to probe further networks, we have one that is valid continue -- cgit v1.2.3