summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-01-21 22:39:51 +0700
committerGitHub <noreply@github.com>2020-01-21 22:39:51 +0700
commitc2e9802037463319eee99ae550d39cf4e8fa8b24 (patch)
treeae73674d3107c769ec0ebc288f24c76bf2b975a0
parent09c2b6f9e2c0abd10ef76947c71874128c27af50 (diff)
parenteac4429e2269005c2a3bc1188be4389b50f5bfb5 (diff)
downloadvyos-1x-c2e9802037463319eee99ae550d39cf4e8fa8b24.tar.gz
vyos-1x-c2e9802037463319eee99ae550d39cf4e8fa8b24.zip
Merge pull request #208 from Merlin83b/patch-1
Remove 2 interface requirement from dhcp-relay
-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.')