summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-07-10 15:09:08 +0200
committerArne Schwabe <arne@rfc2549.org>2014-07-10 15:09:08 +0200
commit1fccb03fca7db86a438d8f24425e9cd776ea23f6 (patch)
tree51c3c37169db15520ded8d0a8cfb30f2a922501c /main
parentfba9704078ff9ef321131669e9677eb400eb05fb (diff)
Don't warn on ifconfig configuration issuses. The VpnService makes enough warnings.
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
index 7e25e79a..7fefa067 100644
--- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
@@ -228,6 +228,9 @@ public class VpnProfile implements Serializable {
cfg += "machine-readable-output\n";
+ // Users are confused by warnings that are misleading...
+ cfg += "ifconfig-nowarn\n";
+
boolean useTLSClient = (mAuthenticationType != TYPE_STATICKEYS);