diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-21 19:58:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 19:58:11 +0200 |
commit | 77fddf724490e9dda77b92d651f6d508b949f3b0 (patch) | |
tree | ffe74246a332448eb27968e670c68759470464be /src | |
parent | 479ac2b4cc311a23dbdf2e0867a51cccf99b198a (diff) | |
parent | 78cfb949cc6bceab744271cf23f269276b178182 (diff) | |
download | vyos-1x-77fddf724490e9dda77b92d651f6d508b949f3b0.tar.gz vyos-1x-77fddf724490e9dda77b92d651f6d508b949f3b0.zip |
Merge pull request #1036 from sever-sever/T3610
dhcp-server: T3610: Allow configuration for non-primary ip address
Diffstat (limited to 'src')
-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 |