summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-09-09 13:09:13 +0200
committerArne Schwabe <arne@rfc2549.org>2012-09-09 13:09:13 +0200
commitad76d3e79a4f34686459dc78e3a17b295f52464d (patch)
tree98764ee9f8f5b449116860749b2e269c33a72330 /src
parent2166e1b60c17df45958075b50771af7618cd6aad (diff)
Fix a bug that if OpeVPN itself decided to reconnect the application was waiting for a network change
Diffstat (limited to 'src')
-rw-r--r--src/de/blinkt/openvpn/OpenVpnManagementThread.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
index 22da0241..e06c1194 100644
--- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java
+++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
@@ -222,6 +222,7 @@ public class OpenVpnManagementThread implements Runnable {
}
private void releaseHoldCmd() {
mWaitingForRelease=false;
+ mReleaseHold=true;
managmentCommand("hold release\n");
managmentCommand("bytecount " + mBytecountinterval + "\n");
managmentCommand("state on\n");