]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/index.cgi
ipsec: change check if a ikev2 tunnel is up.
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / index.cgi
index 32ae7ff388531c638e8306faa84e1cd8b23ed2e8..eec3f9bf361f6a1d463c4e616e16e504c05b3f0a 100644 (file)
@@ -370,7 +370,7 @@ END
                        } else {
                            foreach my $line (@status) {
                                if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) ||
-                                   ($line =~/ $confighash{$key}[1]\[.*ESTABLISHED/ ))
+                                   ($line =~/ $confighash{$key}[1]\{.*INSTALLED/ ))
                                    {
                                    $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourgreen}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsopen'}</font></b></td></tr></table>";
                                }