diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-25 19:38:50 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-25 19:40:06 +0200 |
commit | 6b7b19c93f90839549dd668116c4da2f38cfdc66 (patch) | |
tree | f62ad6702afe32a2bc41d1f3900051b7a78fca71 /src | |
parent | 3e9aab9adb12f00abfd7d163964e563fc93d5289 (diff) | |
download | vyos-1x-6b7b19c93f90839549dd668116c4da2f38cfdc66.tar.gz vyos-1x-6b7b19c93f90839549dd668116c4da2f38cfdc66.zip |
openvpn: T1704: drop deprecated disable-ncp option
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-openvpn.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py index 4afb85526..0256ad62a 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -92,12 +92,6 @@ def verify(openvpn): if 'mode' not in openvpn: raise ConfigError('Must specify OpenVPN operation mode!') - # Check if we have disabled ncp and at the same time specified ncp-ciphers - if 'encryption' in openvpn: - if {'disable_ncp', 'ncp_ciphers'} <= set(openvpn.get('encryption')): - raise ConfigError('Can not specify both "encryption disable-ncp" '\ - 'and "encryption ncp-ciphers"') - # # OpenVPN client mode - VERIFY # |