summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-11-28 10:08:11 -0800
committerhagbard <vyosdev@derith.de>2019-11-28 10:08:11 -0800
commit26677aa3ce312a5b980ea88d57feebd09e39fd98 (patch)
tree500accb618a293d1974e70bf2734e5867a5b167d /src/conf_mode
parent525af4f27dc2aa7e226f2bba46b4b1736bbc014f (diff)
parentdad110ce666edae42ac18c59a800bda503589f27 (diff)
downloadvyos-1x-26677aa3ce312a5b980ea88d57feebd09e39fd98.tar.gz
vyos-1x-26677aa3ce312a5b980ea88d57feebd09e39fd98.zip
Merge branch 'current' into equuleus
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dhcp_server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py
index af803a696..c2a188812 100755
--- a/src/conf_mode/dhcp_server.py
+++ b/src/conf_mode/dhcp_server.py
@@ -793,9 +793,9 @@ def verify(dhcp):
raise ConfigError('DHCP conflicting subnet ranges: {0} overlaps {1}'.format(net, net2))
if not listen_ok:
- raise ConfigError('None of the DHCP lease subnets are inside any configured subnet on\n' \
- 'broadcast interfaces. At least one lease subnet must be set such that\n' \
- 'DHCP server listens on a one broadcast interface!')
+ raise ConfigError('DHCP server configuration error!\n' \
+ 'None of configured DHCP subnets does not have appropriate\n' \
+ 'primary IP address on any broadcast interface.')
return None