diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/xapek/andiodine/IodineClient.java | 1 | ||||
-rw-r--r-- | src/org/xapek/andiodine/IodineVpnService.java | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/org/xapek/andiodine/IodineClient.java b/src/org/xapek/andiodine/IodineClient.java index e9383ec..37178b5 100644 --- a/src/org/xapek/andiodine/IodineClient.java +++ b/src/org/xapek/andiodine/IodineClient.java @@ -35,7 +35,6 @@ public class IodineClient { @SuppressWarnings("UnusedDeclaration") public static void log_callback(String message) { - Log.d(TAG, "Message: " + message); Intent intent = new Intent(ACTION_LOG_MESSAGE); intent.putExtra(EXTRA_MESSAGE, message); diff --git a/src/org/xapek/andiodine/IodineVpnService.java b/src/org/xapek/andiodine/IodineVpnService.java index f816aaa..971b757 100644 --- a/src/org/xapek/andiodine/IodineVpnService.java +++ b/src/org/xapek/andiodine/IodineVpnService.java @@ -311,7 +311,9 @@ public class IodineVpnService extends VpnService implements Runnable { Log.d(TAG, "Set default route"); b.addRoute("0.0.0.0", 0); // Default Route } - b.setMtu(mtu); + b.setMtu(mtu); // bug https://github.com/yvesf/andiodine/issues/4 + // the VPN framework fails if mtu < 1280 + // b.setMtu(1280); Log.d(TAG, "Build tunnel interface"); ParcelFileDescriptor parcelFD = b.establish(); |