summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-12-28 13:55:38 +0100
committerArne Schwabe <arne@rfc2549.org>2013-12-28 13:55:38 +0100
commita7b8099e3e4ab8e255f823daee2075f0ed1c5eb2 (patch)
tree8f55ae7b5edb8ee4b5a44c5e74935d5b0973b709 /src/de/blinkt/openvpn
parent9048871d989f3dd0fc751e973a83cbf27de44f19 (diff)
Add a list of which options can be used in a <connection>, currently unused
--HG-- extra : rebase_source : b42a75d1e8af9afd53594b8b46b432a324bda09e
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/core/ConfigParser.java30
1 files changed, 29 insertions, 1 deletions
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{