X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Findex.cgi;h=0ef95ba8ca26c83d6f203736793b3ee7c3b17af5;hp=d372d5255a1cbba29b1613f69242907ebb29f186;hb=44f8687ba29b06b012a01c36abe51ffdba27287d;hpb=d96c89eb0619c4f4b10ec7724e55f10f84defd2a
diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index d372d5255..0ef95ba8c 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -369,7 +369,9 @@ END
$active = "
";
} else {
foreach my $line (@status) {
- if ($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) {
+ if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) ||
+ ($line =~/$confighash{$key}[1]\{.*INSTALLED/ ))
+ {
$active = "";
}
}