[source] openvpn: adding key_direction to append_params.

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 26 17:26:37 PST 2017


yousong pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1

commit 2b22e1d5c3aa7740c94ea56dee6b91732b92e0c1
Author: Brandon Koepke <bdkoepke at fastmail.com>
AuthorDate: Thu Feb 2 09:51:05 2017 -0800

    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 at fastmail.com>
    [Fixes FS#537]
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/network/services/openvpn/files/openvpn.init | 4 ++--
 1 file 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 \



More information about the lede-commits mailing list