From 137cc5c10327306f0dc15f063e069d2cbc497519 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 5 Dec 2013 07:07:51 +0100 Subject: Add pre resolve patch --- src/de/blinkt/openvpn/VpnProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index f4771bc1..a9232eee 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -391,8 +391,8 @@ public class VpnProfile implements Serializable { if (mPersistTun) { cfg += "persist-tun\n"; - cfg += "# persist-tun also sets persist-remote-ip to avoid DNS resolve problem\n"; - cfg += "persist-remote-ip\n"; + cfg += "# persist-tun also enables pre resolving to avoid DNS resolve problem\n"; + cfg += "preresolve\n"; } SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); -- cgit v1.2.3