summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <blueowl@centrum.cz>2016-11-09 13:14:43 +0100
committerJiří Klimeš <blueowl@centrum.cz>2016-11-10 20:56:44 +0100
commit367d13a7ddb099d066665800d24418919298c16e (patch)
treec5e573e3fa40b52417bc9c39e2b14bdad3c89c12
parent966e0fb50eb109170db3ed995c1e1948315a4dff (diff)
downloadNetworkManager-367d13a7ddb099d066665800d24418919298c16e.tar.gz
nm-import-openvpn: import 'max-routes' option
https://bugzilla.gnome.org/show_bug.cgi?id=720097 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=c4d45e51280d5b0cb8c5e8f826d68c3262162080
-rwxr-xr-xcontrib/scripts/nm-import-openvpn3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/scripts/nm-import-openvpn b/contrib/scripts/nm-import-openvpn
index 2f77014139..4aab4b8f97 100755
--- a/contrib/scripts/nm-import-openvpn
+++ b/contrib/scripts/nm-import-openvpn
@@ -258,7 +258,8 @@ vpn2nm = {
["remote-cert-tls"] = { nm_opt="remote-cert-tls", func=handle_remote_cert_tls, tbl=g_vpn_data },
["tun-mtu"] = { nm_opt="tunnel-mtu", func=handle_generic, tbl=g_vpn_data },
["tun-ipv6"] = { nm_opt="tun-ipv6", func=handle_yes, tbl=g_vpn_data },
- ["route"] = { nm_opt="routes", func=handle_routes, tbl=g_ip4_data }
+ ["route"] = { nm_opt="routes", func=handle_routes, tbl=g_ip4_data },
+ ["max-routes"] = { nm_opt="max-routes", func=handle_number, tbl=g_vpn_data },
}
------------------------------------------------------------