summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java b/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
index 4126f65c..01f7cf69 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
@@ -562,6 +562,14 @@ public class ConfigParser {
}
}
+ Vector<String> provider = getOption("provider", 1, 1);
+ if (provider != null)
+ {
+ String providers = provider.get(1).toLowerCase(Locale.ROOT);
+ if (providers.equals("legacy:default") || providers.equals("default:legacy"))
+ np.mUseLegacyProvider = true;
+ }
+
Vector<String> compatmode = getOption("compat-mode", 1, 1);
if (compatmode != null)