From 9b7f11bd469d788292d0c5461adabdd5a3fed87b Mon Sep 17 00:00:00 2001 From: zdc Date: Thu, 28 Nov 2019 09:17:14 +0200 Subject: dhcp-serverr: T1825: replaced DHCP configuration error message Previous one DHCP configuration error message does not point that DHCP server work only with primary IP address on interface. --- src/conf_mode/dhcp_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/conf_mode') 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 -- cgit v1.2.3