libwg-go: try no stickiness and no roaming
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user