summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-19 09:46:30 +0000
committerErmal <eri@pfsense.org>2012-11-19 09:59:54 +0000
commitc9891afef6529f8ed3161d1733dbce599077e5d0 (patch)
tree5d2508efe6c50a07dd5ae045a0c24f43ac0eb724 /usr/local
parentfaea7e1092dd10f47ae011387db9dbfed05faa11 (diff)
downloadpfsense-c9891afef6529f8ed3161d1733dbce599077e5d0.zip
pfsense-c9891afef6529f8ed3161d1733dbce599077e5d0.tar.gz
Commit a revised version of https://github.com/bsdperimeter/pfsense/pull/264.diff
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index 746cb53..c1f7403 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -560,7 +560,7 @@ function change_protocol() {
?>
<option value="<?=$ifname; ?>" <?php if ($pconfig['natlocalid_type'] == $ifname ) echo "selected";?>><?=sprintf(gettext("%s subnet"), $ifdescr); ?></option>
<?php endforeach; ?>
- <option value="none" <?php if ($pconfig['natlocalid_type'] == "none" ) echo "selected";?>><?=gettext("None"); ?></option>
+ <option value="none" <?php if (empty($pconfig['natlocalid_type']) || $pconfig['natlocalid_type'] == "none" ) echo "selected";?>><?=gettext("None"); ?></option>
</select>
</td>
</tr>
OpenPOWER on IntegriCloud