mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #4504 actually make it correct
This commit is contained in:
parent
5a2ebbb1e5
commit
3d48d3c54b
@ -3555,6 +3555,9 @@ function upgrade_115_to_116() {
|
||||
function upgrade_116_to_117() {
|
||||
global $config;
|
||||
|
||||
if (is_array($config['ipsec']))
|
||||
$config['ipsec']['shuntlaninterfaces'] = true;
|
||||
|
||||
if (!isset($config['ipsec']['client']) ||
|
||||
!isset($config['ipsec']['client']['dns_split']) ||
|
||||
empty($config['ipsec']['client']['dns_split'])) {
|
||||
@ -3564,7 +3567,6 @@ function upgrade_116_to_117() {
|
||||
$config['ipsec']['client']['dns_split'] =
|
||||
preg_replace('/\s*,\s*/', ' ', trim($config['ipsec']['client']['dns_split']));
|
||||
|
||||
$config['ipsec']['shuntlaninterfaces'] = true;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user