diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-30 21:32:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-30 21:32:47 +0100 |
commit | 252d03d6e419aae14ae75caed38d1b1001c916a2 (patch) | |
tree | 750fad15556acda317c8f6381269db1fc74c0ada /src/conf_mode | |
parent | 89a6299156b86ac838462fd60af196dcb0d8877c (diff) | |
parent | 0d82dfa3725a23969fd6ae02b76b135a29be6df3 (diff) | |
download | vyos-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/conf_mode')
-rwxr-xr-x | src/conf_mode/service_dhcp-server.py | 2 |
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 |