]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/showrequestfromip.dat
Fix regex to extract firewall chain for ipv6 in showrequestfrom*.dat
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / logs.cgi / showrequestfromip.dat
index 94e795c6d117020aff7b5837a2d2f92157a8f78e..3611c1915b84781bd22c3579464146d324950ac4 100644 (file)
@@ -303,7 +303,7 @@ foreach $_ (@slice)
        my $srcport = ''; my $dstport = '';
 
        # If ipv6 uses bridge, the use PHYSIN, otherwise use IN
-        if ($_ =~ /(^.* ..:..:..) [\w\-]+ kernel:(.*)(PHYSIN=.*)$/) {}
+        if ($_ =~ /(^.* ..:..:..) [\w\-]+ kernel:(.*)(IN=.*)(PHYSIN=.*)$/) {}
         elsif ($_ =~ /(^.* ..:..:..) [\w\-]+ kernel:(.*)(IN=.*)$/) {}
        my $timestamp = $1; my $chain = $2; my $packet = $3;
        $timestamp =~ /(...) (..) (..:..:..)/;