diff options
| author | Leonid Korokh <lkorokh@gmail.com> | 2025-06-02 16:08:23 +0300 |
|---|---|---|
| committer | Leonid Korokh <lkorokh@gmail.com> | 2025-06-02 16:08:23 +0300 |
| commit | 7b2bf746a36bd5c34658b477986b0297f6963ceb (patch) | |
| tree | 78a4d2dcd3b4eb3074be5010ef5d433a5d8eec82 /src | |
| parent | 474f367604c3f2471b295ab5702a103e62a41313 (diff) | |
| download | vyos-1x-7b2bf746a36bd5c34658b477986b0297f6963ceb.tar.gz vyos-1x-7b2bf746a36bd5c34658b477986b0297f6963ceb.zip | |
openconnect: T7511: Correct variable name in accounting checks block
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/vpn_openconnect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_openconnect.py b/src/conf_mode/vpn_openconnect.py index 0346c7819..38d03fd6f 100755 --- a/src/conf_mode/vpn_openconnect.py +++ b/src/conf_mode/vpn_openconnect.py @@ -79,7 +79,7 @@ def verify(ocserv): # Check accounting if "accounting" in ocserv: if "mode" in ocserv["accounting"] and "radius" in ocserv["accounting"]["mode"]: - if not origin["accounting"]['radius']['server']: + if not ocserv["accounting"]['radius']['server']: raise ConfigError('OpenConnect accounting mode radius requires at least one RADIUS server') if "authentication" not in ocserv or "mode" not in ocserv["authentication"]: raise ConfigError('Accounting depends on OpenConnect authentication configuration') |
