Oops do the right thing here by passing proper argument rather than breaking the ipsec status page. Ticket #3955
This commit is contained in:
parent
39f93e00ca
commit
285acd6040
|
@ -72,7 +72,10 @@ if (isset($config['ipsec']['phase1'])){?>
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ipsec_phase1_status($ipsec_status, $ph1ent)) {
|
||||
if (is_array($ipsec_status['query']) &&
|
||||
is_array($ipsec_status['query']['ikesalist']) &&
|
||||
is_array($ipsec_status['query']['ikesalist']['ikesa']) &&
|
||||
ipsec_phase1_status($ipsec_status['query']['ikesalist']['ikesa'], $ph1ent)) {
|
||||
/* tunnel is up */
|
||||
$iconfn = "true";
|
||||
$activecounter++;
|
||||
|
|
Reference in New Issue