diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-05-04 18:12:21 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-05-04 18:12:21 +0300 |
| commit | f8cd54ff1d25d18e82cdfb05d6432e09f1fd61a9 (patch) | |
| tree | 20073c72d2c9ed418aa037231dcc2f5cb7bbd77b /src | |
| parent | 5c4afee8c5bf95b89d1e4437a7a851b648c70a8d (diff) | |
| download | vyos-1x-f8cd54ff1d25d18e82cdfb05d6432e09f1fd61a9.tar.gz vyos-1x-f8cd54ff1d25d18e82cdfb05d6432e09f1fd61a9.zip | |
dhcp-relay: T8760: Remove redundant deprecation warning for legacy interface option
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/service_dhcp-relay.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/service_dhcp-relay.py b/src/conf_mode/service_dhcp-relay.py index ebdf5e8ee..c40111bb4 100755 --- a/src/conf_mode/service_dhcp-relay.py +++ b/src/conf_mode/service_dhcp-relay.py @@ -21,7 +21,6 @@ from sys import exit from vyos.base import Warning from vyos.config import Config from vyos.template import render -from vyos.base import Warning from vyos.utils.process import call from vyos.utils.dict import dict_search from vyos import ConfigError @@ -61,9 +60,6 @@ def verify(relay): Warning('DHCP relay interface is DEPRECATED - please use upstream-interface and listen-interface instead!') if 'upstream_interface' in relay or 'listen_interface' in relay: raise ConfigError('<interface> configuration is not compatible with upstream/listen interface') - else: - Warning('<interface> is going to be deprecated.\n' \ - 'Please use <listen-interface> and <upstream-interface>') if 'upstream_interface' in relay and 'listen_interface' not in relay: raise ConfigError('No listen-interface configured') |
