summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/OpenVpnManagementThread.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-24 11:11:45 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-24 11:11:45 +0200
commiteaef7350ff03e4447962c06262ca1831cc06cab0 (patch)
treeff74a9cc3cdae4149703212c68fc307674a8b5a3 /src/de/blinkt/openvpn/OpenVpnManagementThread.java
parentcf7c06399618952da0b40d923da81651e546e83d (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.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
index affd8045..6d67a4e6 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));
}
}