summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Koepke <bdkoepke@fastmail.com>2017-02-02 09:51:05 -0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-02-26 14:36:16 +0800
commit2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1 (patch)
treea8c4ef7ed6bb8ec71e33764ecdf63396a391efca
parent6cb46adbc937d8aa1d8bc9465097953ebf091c94 (diff)
downloadmtk-20170518-2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1.zip
mtk-20170518-2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1.tar.gz
mtk-20170518-2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1.tar.bz2
openvpn: adding key_direction to append_params.
key_direction shows up as an openvpn option in the user-interface but does not end up in the /var/etc/openvpn*.conf file. Adding it to the list here fixed the issue for me. Signed-off-by: Brandon Koepke <bdkoepke@fastmail.com> [Fixes FS#537] Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--package/network/services/openvpn/files/openvpn.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index af9c144..d1f37d5 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -111,8 +111,8 @@ start_instance() {
connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
ecdh_curve echo engine explicit_exit_notify fragment group hand_window hash_size http_proxy \
http_proxy_option http_proxy_timeout ifconfig ifconfig_pool ifconfig_pool_persist ifconfig_push \
- inactive ipchange iroute keepalive key key_method keysize learn_address link_mtu lladdr local \
- log log_append lport management management_log_cache max_clients max_routes_per_client mode \
+ inactive ipchange iroute keepalive key key_direction key_method keysize learn_address link_mtu lladdr \
+ local log log_append lport management management_log_cache max_clients max_routes_per_client mode \
mssfix mtu_disc mute ncp_ciphers nice ns_cert_type ping ping_exit ping_restart pkcs12 plugin \
port port_share prng proto pull_filter rcvbuf redirect_gateway remap_usr1 remote remote_cert_eku \
remote_cert_ku remote_cert_tls reneg_bytes reneg_pkts reneg_sec replay_persist replay_window \