diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-15 20:54:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-15 20:54:46 +0200 |
commit | 28936477c4f4c4633c9a384054c0a65090ece101 (patch) | |
tree | 15732cdeaf25fa955c4a33c71175462f22c704b7 /tests | |
parent | 66af9a9daa245b9478d7103861935ee5b8c2526a (diff) | |
download | vyos-1x-28936477c4f4c4633c9a384054c0a65090ece101.tar.gz vyos-1x-28936477c4f4c4633c9a384054c0a65090ece101.zip |
openconnect: T4616: bugfix KeyError: 'local_users'
To reproduce:
set vpn openconnect authentication mode local
commit
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/vpn_openconnect.py", line 147, in <module>
verify(c)
File "/usr/libexec/vyos/conf_mode/vpn_openconnect.py", line 64, in verify
if not ocserv["authentication"]["local_users"] or not ocserv["authentication"]["local_users"]["username"]:
KeyError: 'local_users'
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions