Commit 5137a644 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

openvpn export, obey Renegotiate time = 0

(cherry picked from commit 2c97a083)
parent 8ef13e38
......@@ -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