diff options
Diffstat (limited to 'usr/local/www/diag_ipsec.php')
-rw-r--r-- | usr/local/www/diag_ipsec.php | 4 |
1 files changed, 2 insertions, 2 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 |