diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-04-05 18:06:18 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-04-05 18:06:18 -0400 |
commit | 221f5d17b63288249e3872d72dac683a1c1206f3 (patch) | |
tree | 111854d8edf57f3611611f9bec5fd7aa8e3cd603 /usr | |
parent | c67bbe0480e68987d16e691f61425ee79760df83 (diff) | |
download | pfsense-221f5d17b63288249e3872d72dac683a1c1206f3.zip pfsense-221f5d17b63288249e3872d72dac683a1c1206f3.tar.gz |
don't display disabled tunnels on diag_ipsec.php
fix up L2TP text
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_ipsec.php | 4 | ||||
-rw-r--r-- | usr/local/www/vpn_l2tp.php | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index 87c3c47..a77d261 100644 --- a/usr/local/www/diag_ipsec.php +++ b/usr/local/www/diag_ipsec.php @@ -91,8 +91,8 @@ $sad = ipsec_dump_sad(); </tr> <?php foreach ($a_phase2 as $ph2ent) { - if (!isset($ph2ent['disabled'])) { - ipsec_lookup_phase1($ph2ent,$ph1ent); + ipsec_lookup_phase1($ph2ent,$ph1ent); + if (!isset($ph2ent['disabled']) && !isset($ph1ent['disabled'])) { if(ipsec_phase2_status($spd,$sad,$ph1ent,$ph2ent)) $icon = "pass"; else diff --git a/usr/local/www/vpn_l2tp.php b/usr/local/www/vpn_l2tp.php index 24bb85c..025e30f 100644 --- a/usr/local/www/vpn_l2tp.php +++ b/usr/local/www/vpn_l2tp.php @@ -297,7 +297,7 @@ function enable_change(enable_over) { <td width="78%" class="vtable"> <?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>" /> <br /> - <?=gettext("Enter the IP address the l2tp server should use on its side for all clients.");?></td> + <?=gettext("Enter the IP address the L2TP server should use on its side for all clients.");?></td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Remote address range");?></td> @@ -325,7 +325,7 @@ function enable_change(enable_over) { </td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq">No. L2TP users</td> + <td width="22%" valign="top" class="vncellreq">Number of L2TP users</td> <td width="78%" class="vtable"> <select id="n_l2tp_units" name="n_l2tp_units"> <?php @@ -338,7 +338,7 @@ function enable_change(enable_over) { } ?> </select> - <br>Hint: 10 is TEN l2tp clients + <br>Hint: 10 is ten L2TP clients </td> </tr> <tr> |