summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-04-20 20:40:06 +0200
committerErmal LUÇI <eri@pfsense.org>2015-04-20 20:40:06 +0200
commit868a62be4c27860aef9f3fd939beee5a6f26090a (patch)
tree8256db6c75e0846595aa4cecea09e0fae7670d00 /usr/local/www/vpn_ipsec_settings.php
parent905e1156680129b3c49fe380b4e821f9eb02362a (diff)
downloadpfsense-868a62be4c27860aef9f3fd939beee5a6f26090a.zip
pfsense-868a62be4c27860aef9f3fd939beee5a6f26090a.tar.gz
Fix #4640 IPsec Auto-exclude LAN address toggles every time save is pressed.
Actually the GUI is displaying the opposite setting to what is in the config. When the user pressed save that opposite setting was saved, but then again it displays the opposite of the opposite...
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index aab4f47..87f5fcb 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -376,7 +376,7 @@ function maxmss_checked(obj) {
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Auto-exclude LAN address"); ?></td>
<td width="78%" class="vtable">
- <input name="noshuntlaninterfaces" type="checkbox" id="noshuntlaninterfaces" value="yes" <?php if (!$pconfig['noshuntlaninterfaces'] == true) echo "checked=\"checked\""; ?> />
+ <input name="noshuntlaninterfaces" type="checkbox" id="noshuntlaninterfaces" value="yes" <?php if ($pconfig['noshuntlaninterfaces'] == true) echo "checked=\"checked\""; ?> />
<strong><?=gettext("Enable bypass for LAN interface IP"); ?></strong>
<br />
<?=gettext("Exclude traffic from LAN subnet to LAN IP address from IPsec."); ?>
OpenPOWER on IntegriCloud