summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-10-05 18:17:25 +0000
committerErmal <eri@pfsense.org>2012-10-05 18:17:25 +0000
commit9a5a078a7140d815418356473eff9d99c8908605 (patch)
tree0acfacf7964dcc1d338374bc010cb695ca8d7a93 /usr/local/www
parent6e97e102b0a2cdb946f495dcb40adbd04d0614b4 (diff)
downloadpfsense-9a5a078a7140d815418356473eff9d99c8908605.zip
pfsense-9a5a078a7140d815418356473eff9d99c8908605.tar.gz
Properly set address type selection
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index 65e49a5..1a01f27 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -550,8 +550,8 @@ function change_protocol() {
<td></td>
<td>
<select name="natlocalid_type" class="formselect" onChange="typesel_change_natlocal()">
- <option value="address" <?php if ($pconfig['localid_type'] == "address") echo "selected";?>><?=gettext("Address"); ?></option>
- <option value="network" <?php if ($pconfig['localid_type'] == "network") echo "selected";?>><?=gettext("Network"); ?></option>
+ <option value="address" <?php if ($pconfig['natlocalid_type'] == "address") echo "selected";?>><?=gettext("Address"); ?></option>
+ <option value="network" <?php if ($pconfig['natlocalid_type'] == "network") echo "selected";?>><?=gettext("Network"); ?></option>
<?php
$iflist = get_configured_interface_with_descr();
foreach ($iflist as $ifname => $ifdescr):
OpenPOWER on IntegriCloud