summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-04-20 10:00:29 +0545
committerPhil Davis <phil.davis@inf.org>2015-04-20 10:00:29 +0545
commit75d072be3a10949ead88a82ecec51ae0e5490fbe (patch)
tree1016d46cf03d5945ec3eb45496deb614ff00d01c /usr
parent0608bd3c354ea76eb6df9ed9322e2ef8686f15e7 (diff)
downloadpfsense-75d072be3a10949ead88a82ecec51ae0e5490fbe.zip
pfsense-75d072be3a10949ead88a82ecec51ae0e5490fbe.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')
-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