Fixed firewall log display 20 for local interface.
authorChristian Schmidt <maniacikarus@ipfire.org>
Thu, 20 Jan 2011 20:09:14 +0000 (21:09 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Thu, 20 Jan 2011 20:09:14 +0000 (21:09 +0100)
config/rootfiles/core/45/filelists/files
html/cgi-bin/logs.cgi/firewalllog.dat

index 814baf3..8df8185 100644 (file)
@@ -7,3 +7,4 @@ srv/web/ipfire/cgi-bin/proxy.cgi
 srv/web/ipfire/cgi-bin/vpnmain.cgi
 usr/sbin/updxlrator
 var/ipfire/outgoing/bin/outgoingfw.pl
+srv/web/ipfire/cgi-bin/logs.cgi/firewalllog.dat
\ No newline at end of file
index 5979a76..2c4fb14 100644 (file)
@@ -333,7 +333,7 @@ foreach $_ (@log)
         my $comment = $3; 
         my $packet = $4;
 
-        $packet =~ /IN=(\w+)/;       my $iface=$1; if ( $1 eq "27" ){ $iface="";}
+        $packet =~ /IN=(\w+)/;       my $iface=$1; if ( $1 eq "27" || $1 eq "20"){ $iface="";}
         $packet =~ /SRC=([\d\.]+)/;  my $srcaddr=$1;
         $packet =~ /DST=([\d\.]+)/;  my $dstaddr=$1;
         $packet =~ /MAC=([\w+\:]+)/; my $macaddr=$1;