diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-06-03 14:57:16 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-06-03 14:57:16 +0200 |
commit | 9e22aa6aff4627a08cb23f649e323f2b42f0d34d (patch) | |
tree | 7853c4afaa5d49815073031fa1a68cd244f1bf59 /src/de/blinkt/openvpn/OpenVpnManagementThread.java | |
parent | 4ddf2ac169fbb4931b5268962b02cdca33323ccd (diff) |
Implement reconnect on network change (closes issue #37)
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnManagementThread.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVpnManagementThread.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java index 6d67a4e6..723cc4c8 100644 --- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java +++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java @@ -383,4 +383,10 @@ public class OpenVpnManagementThread implements Runnable { return sendCMD;
}
+
+ public void reconnect() {
+ managmentCommand("signal SIGUSR1\n");
+
+ }
+
}
|