diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-10-21 17:25:47 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-21 19:58:28 +0200 |
commit | 28d1f0252a10fe71abc8fdda1509295eeb97ee7c (patch) | |
tree | 40a6922bea7a55e05361990321fdb36af9348aa2 /src/conf_mode | |
parent | f04799dfb638567f72ebf6cd9d1d1d5ba614fdb5 (diff) | |
download | vyos-1x-28d1f0252a10fe71abc8fdda1509295eeb97ee7c.tar.gz vyos-1x-28d1f0252a10fe71abc8fdda1509295eeb97ee7c.zip |
dhcp-server: T3610: Allow configuration for non-primary ip address
(cherry picked from commit 78cfb949cc6bceab744271cf23f269276b178182)
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/dhcp_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py index 71b71879c..a8cef5ebf 100755 --- a/src/conf_mode/dhcp_server.py +++ b/src/conf_mode/dhcp_server.py @@ -232,7 +232,7 @@ def verify(dhcp): # There must be one subnet connected to a listen interface. # This only counts if the network itself is not disabled! if 'disable' not in network_config: - if is_subnet_connected(subnet, primary=True): + if is_subnet_connected(subnet, primary=False): listen_ok = True # Subnets must be non overlapping |