From a7b8099e3e4ab8e255f823daee2075f0ed1c5eb2 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 28 Dec 2013 13:55:38 +0100 Subject: Add a list of which options can be used in a , currently unused --HG-- extra : rebase_source : b42a75d1e8af9afd53594b8b46b432a324bda09e --- src/de/blinkt/openvpn/core/ConfigParser.java | 30 +++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/de/blinkt/openvpn/core/ConfigParser.java b/src/de/blinkt/openvpn/core/ConfigParser.java index 6d33a5f7..7b6b4a91 100644 --- a/src/de/blinkt/openvpn/core/ConfigParser.java +++ b/src/de/blinkt/openvpn/core/ConfigParser.java @@ -247,7 +247,7 @@ public class ConfigParser { "management", "management-query-passwords", "pause-exit", - "parsable-output", + "machine-readable-output", "persist-key", "register-dns", "route-delay", @@ -265,6 +265,34 @@ public class ConfigParser { "win-sys", }; + final String[] connectionOptions = { + "local", + "remote", + "float", + "port", +// "connect-retry", + "connect-timeout", + "connect-retry-max", + "link-mtu", + "tun-mtu", + "tun-mtu-extra", + "fragment", + "mtu-disc", + "local-port", + "remote-port", + "bind", + "nobind", + "proto", + "http-proxy", + "http-proxy-retry", + "http-proxy-timeout", + "http-proxy-option", + "socks-proxy", + "socks-proxy-retry", + "explicit-exit-notify", + "mssfix" + }; + // This method is far too long public VpnProfile convertProfile() throws ConfigParseError{ -- cgit v1.2.3