diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-17 08:59:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-17 08:59:49 +0200 |
commit | c6dee2f3dba77bdbfb7d54f9c01f425c5f3c9176 (patch) | |
tree | dc655811096a43eb333de14473f96fa89e4a6487 /src/conf_mode/service_ipoe-server.py | |
parent | a43b5c7d1ca00fe67af08ae576889e657ac9b7b0 (diff) | |
parent | 3bb5d5df1e38a6d995395b6e69ad142e6445b09d (diff) | |
download | vyos-1x-c6dee2f3dba77bdbfb7d54f9c01f425c5f3c9176.tar.gz vyos-1x-c6dee2f3dba77bdbfb7d54f9c01f425c5f3c9176.zip |
Merge pull request #3995 from vyos/mergify/bp/circinus/pr-3987
ipoe_server: T6649: Accel-ppp separate vlan-mon from listen interfaces (backport #3987)
Diffstat (limited to 'src/conf_mode/service_ipoe-server.py')
-rwxr-xr-x | src/conf_mode/service_ipoe-server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py index 16c82e591..c7e3ef033 100755 --- a/src/conf_mode/service_ipoe-server.py +++ b/src/conf_mode/service_ipoe-server.py @@ -70,6 +70,8 @@ def verify(ipoe): if 'client_subnet' in iface_config and 'vlan' in iface_config: raise ConfigError('Option "client-subnet" and "vlan" are mutually exclusive, ' 'use "client-ip-pool" instead!') + if 'vlan_mon' in iface_config and not 'vlan' in iface_config: + raise ConfigError('Option "vlan-mon" requires "vlan" to be set!') verify_accel_ppp_authentication(ipoe, local_users=False) verify_accel_ppp_ip_pool(ipoe) |