diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-08-16 07:03:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 07:03:04 +0100 |
commit | 9e740c4339d215ff7332d22d12d40f4acd75d4c8 (patch) | |
tree | b6840aa64850b1f0c9aaa30799d77250b3c9474a /src/conf_mode/service_ipoe-server.py | |
parent | cb1eec686cfe7b64142980963d44ae47a4eb66cc (diff) | |
parent | 663e468de2b431f771534b4e3a2d00a5924b98fe (diff) | |
download | vyos-1x-9e740c4339d215ff7332d22d12d40f4acd75d4c8.tar.gz vyos-1x-9e740c4339d215ff7332d22d12d40f4acd75d4c8.zip |
Merge pull request #3987 from natali-rs1985/T6649-current
ipoe_server: T6649: Accel-ppp separate vlan-mon from listen interfaces
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) |