From: Arne Fitzenreiter Date: Sun, 26 Jun 2011 21:16:41 +0000 (+0200) Subject: ipsec: change check if a ikev2 tunnel is up. X-Git-Tag: v2.9-core53~85 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=57ba1e9023b0f1f3499cc888f66827a81574bb41;ds=sidebyside ipsec: change check if a ikev2 tunnel is up. --- diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 32ae7ff388..eec3f9bf36 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -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 = "
$Lang::tr{'capsopen'}
"; } diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 3d5a360f13..3785b90a5d 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -2540,7 +2540,7 @@ END my $active = "
$Lang::tr{'capsclosed'}
"; foreach my $line (@status) { if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) || - ($line =~ / $confighash{$key}[1]\[.*ESTABLISHED/)) + ($line =~ / $confighash{$key}[1]\{.*INSTALLED/)) { $active = "
$Lang::tr{'capsopen'}
"; }