summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase1.php
diff options
context:
space:
mode:
authormgrooms <mgrooms@shrew.net>2009-03-15 03:47:18 +0000
committermgrooms <mgrooms@shrew.net>2009-03-15 03:47:18 +0000
commit87e07f5242b8018a9c45afee448377d05fbe00c4 (patch)
tree9d49712e09c5eafd81d59c4e7f0ae0da4f43fb58 /usr/local/www/vpn_ipsec_phase1.php
parent07ea77d066fafcf8121dddf83cec8f38e051e986 (diff)
downloadpfsense-87e07f5242b8018a9c45afee448377d05fbe00c4.zip
pfsense-87e07f5242b8018a9c45afee448377d05fbe00c4.tar.gz
Move the IPsec pinghost option from phase1 to phase2. Correct some
bugs that were preventing the local address from being selected.
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 174f884..36e1924 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -106,8 +106,6 @@ if (isset($p1index) && $a_phase1[$p1index])
$pconfig['dpd_delay'] = $a_phase1[$p1index]['dpd_delay'];
$pconfig['dpd_maxfail'] = $a_phase1[$p1index]['dpd_maxfail'];
}
-
- $pconfig['pinghost'] = $a_phase1[$p1index]['pinghost'];
}
else
{
@@ -302,8 +300,6 @@ if ($_POST) {
$ph1ent['dpd_maxfail'] = $pconfig['dpd_maxfail'];
}
- $ph1ent['pinghost'] = $pconfig['pinghost'];
-
/* generate unique phase1 ikeid */
if ($ph1ent['ikeid'] == 0)
$ph1ent['ikeid'] = ipsec_ikeid_next();
@@ -725,13 +721,6 @@ function dpdchkbox_change() {
</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncell">Automatically ping host</td>
- <td width="78%" class="vtable">
- <input name="pinghost" type="text" class="formfld unknown" id="pinghost" size="20" value="<?=$pconfig['pinghost'];?>">
- IP address
- </td>
- </tr>
- <tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<?php if (isset($p1index) && $a_phase1[$p1index]): ?>
OpenPOWER on IntegriCloud