diff options
author | Daniel Foster <Merlin83b@users.noreply.github.com> | 2020-01-21 15:29:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 15:29:33 +0000 |
commit | eac4429e2269005c2a3bc1188be4389b50f5bfb5 (patch) | |
tree | ae73674d3107c769ec0ebc288f24c76bf2b975a0 | |
parent | 09c2b6f9e2c0abd10ef76947c71874128c27af50 (diff) | |
download | vyos-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.
-rwxr-xr-x | src/conf_mode/dhcp_relay.py | 5 |
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.') |