summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-30 21:32:47 +0100
committerGitHub <noreply@github.com>2024-03-30 21:32:47 +0100
commit252d03d6e419aae14ae75caed38d1b1001c916a2 (patch)
tree750fad15556acda317c8f6381269db1fc74c0ada /src
parent89a6299156b86ac838462fd60af196dcb0d8877c (diff)
parent0d82dfa3725a23969fd6ae02b76b135a29be6df3 (diff)
downloadvyos-1x-252d03d6e419aae14ae75caed38d1b1001c916a2.tar.gz
vyos-1x-252d03d6e419aae14ae75caed38d1b1001c916a2.zip
Merge pull request #3195 from HollyGurza/T4718-current
dhcp-server: T4718: Listen-address is not commit if the ip address is on the interface with vrf
Diffstat (limited to 'src')
-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