diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-26 03:01:16 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-26 03:03:15 +0200 |
commit | 7120ef9ffdfd7db28dff36e435616d5f04c2d393 (patch) | |
tree | 1a301e5ab08c43c87884505005d216db4ebfa76b /app/src/main/java/com/wireguard/android | |
parent | 75f4478fb54e001e1a12f5d23108dadd9c0cc865 (diff) |
libwg-go: try no stickiness and no roaming
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android')
-rw-r--r-- | app/src/main/java/com/wireguard/android/backend/GoBackend.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/src/main/java/com/wireguard/android/backend/GoBackend.java b/app/src/main/java/com/wireguard/android/backend/GoBackend.java index f9dca4c5..d11802f3 100644 --- a/app/src/main/java/com/wireguard/android/backend/GoBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/GoBackend.java @@ -51,10 +51,6 @@ public final class GoBackend implements Backend { private static native int wgGetSocketV6(int handle); - private static native void wgPutSocketV4(int handle); - - private static native void wgPutSocketV6(int handle); - private static native void wgTurnOff(int handle); private static native int wgTurnOn(String ifName, int tunFd, String settings); @@ -190,9 +186,7 @@ public final class GoBackend implements Backend { currentTunnel = tunnel; service.protect(wgGetSocketV4(currentTunnelHandle)); - wgPutSocketV4(currentTunnelHandle); service.protect(wgGetSocketV6(currentTunnelHandle)); - wgPutSocketV6(currentTunnelHandle); } else { Log.i(TAG, "Bringing tunnel down"); |