mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
openvpn: slightly tweak previous
This commit is contained in:
parent
2a2222a7a4
commit
97fb7d1190
@ -890,8 +890,8 @@ function openvpn_reconfigure($mode, $settings, $device_only = false)
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($settings['reneg-sec']) && $settings['reneg-sec'] != "") {
|
||||
$conf .= "reneg-sec ".$settings['reneg-sec']."\n";
|
||||
if (isset($settings['reneg-sec']) && $settings['reneg-sec'] != '') {
|
||||
$conf .= "reneg-sec {$settings['reneg-sec']}\n";
|
||||
}
|
||||
|
||||
openvpn_add_custom($settings, $conf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user