]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/showrequestfromport.dat
Fix regex to extract firewall chain for ipv6 in showrequestfrom*.dat
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / logs.cgi / showrequestfromport.dat
index af7779a87fc6873466a0b5ea8827f9a9b4a50400..d735c7be9c4c49f4b9f63c13458892edf576237f 100644 (file)
@@ -308,7 +308,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 =~ /(...) (..) (..:..:..)/;