summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py2
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'