From: Arne Fitzenreiter Date: Mon, 4 Jul 2011 19:41:31 +0000 (+0200) Subject: ipsec: change grep for ikev2 status display. X-Git-Tag: v2.9-core53~75^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=264c0195fbd8a897d37c81d5d74e6502ab7212a8;p=people%2Fms%2Fipfire-2.x.git ipsec: change grep for ikev2 status display. --- diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index eec3f9bf36..b325250a58 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]\{.*INSTALLED/ )) + ($line =~/$confighash{$key}[1]\{.*INSTALLED/ )) { $active = "
$Lang::tr{'capsopen'}
"; } diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 1fa40a827d..177cdf4c27 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]\{.*INSTALLED/)) + ($line =~ /$confighash{$key}[1]\{.*INSTALLED/)) { $active = "
$Lang::tr{'capsopen'}
"; }