summaryrefslogtreecommitdiff
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
commit72b1fd17c5178b0faf7a0138c85c570e7e598f9f (patch)
tree31cf56110e4aa6153fe0617e662c151e703be536
parent5f2f0bf5b03b7a0ccc70c3a1458953e88a80b44e (diff)
Fix a bug that if OpeVPN itself decided to reconnect the application was waiting for a network change
-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");