Commit 2c97a083 authored by Ad Schellevis's avatar Ad Schellevis

openvpn export, obey Renegotiate time = 0

parent a60db3ce
......@@ -186,7 +186,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $verifys
$conf .= "auth {$digest}{$nl}";
$conf .= "tls-client{$nl}";
$conf .= "client{$nl}";
if (!empty($settings['reneg-sec'])) {
if (isset($settings['reneg-sec']) && $settings['reneg-sec'] != "") {
$conf .= "reneg-sec {$settings['reneg-sec']}{$nl}";
}
if (($expformat != "inlinedroid") && ($expformat != "inlineios")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment