diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:41:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:41:38 +0000 |
commit | 9d3092f3d14cf08542caed439f2520bf7536090c (patch) | |
tree | 119f176266aa025f2f910dfc373d6990cdc3c843 | |
parent | 31c270d3caa8a8217f2d2caeef43f5f20a786ad6 (diff) | |
download | upstream-9d3092f3d14cf08542caed439f2520bf7536090c.tar.gz upstream-9d3092f3d14cf08542caed439f2520bf7536090c.tar.bz2 upstream-9d3092f3d14cf08542caed439f2520bf7536090c.zip |
openvpn: fix handling option auth_retry.
As reported in ticket #19104, auth_retry takes a <type> argument with 3
choices: none, nointeract, interact.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45960 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/network/services/openvpn/files/openvpn.init | 4 |
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 294e3ed710..861d0d62b3 100644 --- a/package/network/services/openvpn/files/openvpn.init +++ b/package/network/services/openvpn/files/openvpn.init @@ -94,7 +94,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 \ @@ -107,7 +107,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 \ |