mirror of
https://github.com/schwabe/ics-openvpn.git
synced 2024-09-19 19:42:29 +02:00
Add parsing of --provider to ConfigParser
This commit is contained in:
parent
90ba71780c
commit
f8249f98f3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user