mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #4655 well manually merge pull/1715. Thanks: Phil
This commit is contained in:
parent
fd90a77fdf
commit
da6faa2b57
@ -207,9 +207,15 @@ if ($_POST) {
|
||||
|
||||
header("Location: vpn_ipsec_settings.php");
|
||||
return;
|
||||
} else
|
||||
/* NOTE: Do not be smart here check #4655 */
|
||||
$pconfig['noshuntlaninterfaces'] = isset($config['ipsec']['noshuntlaninterfaces']);
|
||||
}
|
||||
|
||||
// The logic value sent by $POST is opposite to the way it is stored in the config.
|
||||
// Reset the $pconfig value so it reflects the opposite of what was $POSTed.
|
||||
if ($_POST['noshuntlaninterfaces'] == "yes") {
|
||||
$pconfig['noshuntlaninterfaces'] = false;
|
||||
} else {
|
||||
$pconfig['noshuntlaninterfaces'] = true;
|
||||
}
|
||||
}
|
||||
|
||||
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Settings"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user