diff options
author | Kim Hagen <kim@sentrium.io> | 2021-09-03 03:23:28 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-09-03 03:23:28 -0500 |
commit | 65b55f35f836185ffbf589c5ea5a6ee89568957e (patch) | |
tree | 9874b4afc36219a3cffed008d5dabc6ada56e6ad /src | |
parent | e3c71af1466da42403fa23bc23e7e530df71c6c8 (diff) | |
download | vyos-1x-65b55f35f836185ffbf589c5ea5a6ee89568957e.tar.gz vyos-1x-65b55f35f836185ffbf589c5ea5a6ee89568957e.zip |
fix file location and use correct variable
Diffstat (limited to 'src')
-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 194126a34..365d0982e 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -381,7 +381,7 @@ def verify(openvpn): for client in (dict_search('server.client', openvpn) or []): exists = None for ovpn_user in ovpn_users: - if re.search('^' + client + ' ', user): + if re.search('^' + client + ' ', ovpn_user): fp.write(ovpn_user) exists = 'true' |