diff options
author | Kim <kim.sidney@gmail.com> | 2021-11-03 21:41:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 21:41:16 +0100 |
commit | 5181fb7facfabd2c5eb046cf14a32bb1a17e4d44 (patch) | |
tree | 4a5efafd76a1f40a559ba428c36e9cbbb28a333d /src/conf_mode | |
parent | 8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4 (diff) | |
parent | fe9936ee2b0686ab0040e312d91c3d1817de2ca5 (diff) | |
download | vyos-1x-5181fb7facfabd2c5eb046cf14a32bb1a17e4d44.tar.gz vyos-1x-5181fb7facfabd2c5eb046cf14a32bb1a17e4d44.zip |
Merge pull request #1064 from UnicronNL/current
openvpn: T3966: OpenVPN fix the smoketests
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-openvpn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py index 735b39ba3..8f660fe1d 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -99,7 +99,7 @@ def get_config(config=None): # originate comes with defaults, which will enable the # totp plugin, even when not set via CLI so we # need to check this first and drop those keys - if dict_search('server.totp', tmp_openvpn) == None: + if dict_search('server.totp', tmp_openvpn) == None and dict_search('server', tmp_openvpn) != None: del openvpn['server']['mfa']['totp'] return openvpn |