summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-03-28 16:01:30 +0800
committerkhramshinr <khramshinr@gmail.com>2024-03-28 16:29:06 +0800
commit0d82dfa3725a23969fd6ae02b76b135a29be6df3 (patch)
tree9444033736a7efcf8961e13a8e72063d53be4dbc /src/conf_mode
parent63b9889f2070ae09774c71ff1449a5c1f7b99881 (diff)
downloadvyos-1x-0d82dfa3725a23969fd6ae02b76b135a29be6df3.tar.gz
vyos-1x-0d82dfa3725a23969fd6ae02b76b135a29be6df3.zip
dhcp-server: T4718: Listen-address is not commit if the ip address is on the interface with vrf
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/service_dhcp-server.py2
1 files changed, 1 insertions, 1 deletions
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