diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-24 11:11:45 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-24 11:11:45 +0200 |
commit | 6d113da4ac3b8689bc803109cff04425da26c78b (patch) | |
tree | 8d03e12bf369dc1fc2563dcf6fa1a1e86dc4dbe0 /src/de/blinkt/openvpn/OpenVpnManagementThread.java | |
parent | d30bc67738d9c5a61ac319681a55f0f82a4e807f (diff) |
Add more diagnostic messages for management password queries
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnManagementThread.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVpnManagementThread.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java index affd804..6d67a4e 100644 --- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java +++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java @@ -355,6 +355,8 @@ public class OpenVpnManagementThread implements Runnable { if(pw!=null) {
String cmd = String.format("password '%s' %s\n", needed, VpnProfile.openVpnEscape(pw));
managmentCommand(cmd);
+ } else {
+ OpenVPN.logMessage(0, OpenVPN.MANAGMENT_PREFIX, String.format("Openvpn requires Authentication type '%s' but no password/key information available", needed));
}
}
|