diff options
-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> |