diff options
author | Arne Schwabe <arne@rfc2549.org> | 2016-01-06 13:16:48 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2016-01-06 13:16:48 +0100 |
commit | f125693d7d4ea2aab944c042da42d63a8bb43fb0 (patch) | |
tree | ee42a2b38b96967be3ec78f63a581d608c07efff /main | |
parent | 2fc13a452f0140ffaba10078cde299917de81ab3 (diff) |
Parse route-nopull on import (closes #431)
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java | 3 |
1 files changed, 3 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 cf801a46..0438022b 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java +++ b/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java @@ -398,6 +398,9 @@ public class ConfigParser { np.mCustomRoutesv6 = customIPv6Routes; } + + Vector<String> routeNoPull = getOption("route-nopull", 1, 1); + np.mRoutenopull=true; // Also recognize tls-auth [inline] direction ... Vector<Vector<String>> tlsauthoptions = getAllOption("tls-auth", 1, 2); |