From: Christian Lehmann
auth_retry moved to parameter section to work. This patch will fix issue
#12333.
Signed-off-by: Christian Lehmann <i...@legacycode.org>
---
diff --git a/package/network/services/openvpn/files/openvpn.init
b/package/network/services/openvpn/files/openvpn.init
index 08832a0..cb6a61f 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -84,7 +84,7 @@ start_instance() {
# append flags
append_bools "$s" \
- auth_nocache auth_retry auth_user_pass_optional bind
ccd_exclusive client client_cert_not_required \
+ auth_nocache auth_user_pass_optional bind ccd_exclusive
client client_cert_not_required \
client_to_client comp_noadapt disable \
disable_occ down_pre duplicate_cn fast_io float
http_proxy_retry \
ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear
management_forget_disconnect management_hold \
@@ -97,7 +97,7 @@ start_instance() {
# append params
append_params "$s" \
- cd askpass auth auth_user_pass auth_user_pass_verify
bcast_buffers ca cert \
+ cd askpass auth auth_retry auth_user_pass
auth_user_pass_verify bcast_buffers ca cert \
chroot cipher client_config_dir client_connect
client_disconnect comp_lzo connect_freq \
connect_retry connect_timeout connect_retry_max
crl_verify dev dev_node dev_type dh \
echo engine explicit_exit_notify fragment group
hand_window hash_size \
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel