aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/openvpn
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-05 10:28:47 +0000
committerJohn Crispin <john@openwrt.org>2015-10-05 10:28:47 +0000
commitaf2429f1043ed2a1f974205ac0676eceb3d17909 (patch)
tree9e07a102b586dbf5af7f8660b4844735fcd11afe /package/network/services/openvpn
parentb26840a9fc4ffa222a78107cbdc09dd7b8c1aaa2 (diff)
downloadupstream-af2429f1043ed2a1f974205ac0676eceb3d17909.tar.gz
upstream-af2429f1043ed2a1f974205ac0676eceb3d17909.tar.bz2
upstream-af2429f1043ed2a1f974205ac0676eceb3d17909.zip
openvpn: add handling for route-pre-down option
OpenVPN 2.3 added a route-pre-down option, to run a command before routes are removed upon disconnection. Signed-off-by: Jeffery To <jeffery.to@gmail.com> SVN-Revision: 47134
Diffstat (limited to 'package/network/services/openvpn')
-rw-r--r--package/network/services/openvpn/files/openvpn.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 861d0d62b3..994973b7d9 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -120,7 +120,7 @@ start_instance() {
redirect_gateway remap_usr1 remote remote_cert_eku remote_cert_ku remote_cert_tls \
reneg_bytes reneg_pkts reneg_sec \
replay_persist replay_window resolv_retry route route_delay route_gateway \
- route_metric route_up rport script_security secret server server_bridge setenv shaper sndbuf \
+ route_metric route_pre_down route_up rport script_security secret server server_bridge setenv shaper sndbuf \
socks_proxy status status_version syslog tcp_queue_limit tls_auth \
tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
tun_mtu tun_mtu_extra txqueuelen user verb down push up \