summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 7582d30..2c23131 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -784,7 +784,7 @@ function openvpn_reconfigure($mode, $settings) {
if ($settings['resolve_retry'])
$conf .= "resolv-retry infinite\n";
else if ($mode == 'client')
- $conf .= "resolv-retry 2\n";
+ $conf .= "resolv-retry infinite\n";
if ($settings['dynamic_ip']) {
$conf .= "persist-remote-ip\n";
OpenPOWER on IntegriCloud