summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniel Foster <Merlin83b@users.noreply.github.com>2020-01-21 15:29:33 +0000
committerGitHub <noreply@github.com>2020-01-21 15:29:33 +0000
commiteac4429e2269005c2a3bc1188be4389b50f5bfb5 (patch)
treeae73674d3107c769ec0ebc288f24c76bf2b975a0 /src/conf_mode
parent09c2b6f9e2c0abd10ef76947c71874128c27af50 (diff)
downloadvyos-1x-eac4429e2269005c2a3bc1188be4389b50f5bfb5.tar.gz
vyos-1x-eac4429e2269005c2a3bc1188be4389b50f5bfb5.zip
Remove 2 interface requirement from dhcp-relay
More detail in Phabricator T1978. There is no requirement for dhcp-relay to have multiple interfaces configured.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dhcp_relay.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/conf_mode/dhcp_relay.py b/src/conf_mode/dhcp_relay.py
index 73e0153df..a1af2575f 100755
--- a/src/conf_mode/dhcp_relay.py
+++ b/src/conf_mode/dhcp_relay.py
@@ -105,11 +105,6 @@ def verify(relay):
if relay is None:
return None
- if len(relay['interface']) < 2:
- # We can only issue a warning otherwise old configurations might break
- print('WARNING: At least two interfaces are required for DHCP relay\n' \
- 'to work\n')
-
if 'lo' in relay['interface']:
raise ConfigError('DHCP relay does not support the loopback interface.')