summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-21 19:58:11 +0200
committerGitHub <noreply@github.com>2021-10-21 19:58:11 +0200
commit77fddf724490e9dda77b92d651f6d508b949f3b0 (patch)
treeffe74246a332448eb27968e670c68759470464be /src/conf_mode
parent479ac2b4cc311a23dbdf2e0867a51cccf99b198a (diff)
parent78cfb949cc6bceab744271cf23f269276b178182 (diff)
downloadvyos-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/conf_mode')
-rwxr-xr-xsrc/conf_mode/dhcp_server.py2
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