Merge branch 'master' of ssh://arne_f@git.ipfire.org/pub/git/ipfire-2.x

This commit is contained in:
Arne Fitzenreiter
2011-01-26 17:43:18 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ echo Starting Proxy
/etc/init.d/squid start 2>/dev/null
echo Rewriting Outgoing FW Rules
/var/ipfire/outgoing/bin/outgoingfw.pl
if [ `grep "ENABLED=on" /var/ipfire/vpn/setting` ]; then
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
echo Starting vpn-watch
/usr/local/bin/vpn-watch &
fi

View File

@@ -333,7 +333,7 @@ foreach $_ (@log)
my $comment = $3;
my $packet = $4;
$packet =~ /IN=(\w+)/; my $iface=$1; if ( $1 $1 =~ /2./ ){ $iface="";}
$packet =~ /IN=(\w+)/; my $iface=$1; if ( $1 =~ /2./ ){ $iface="";}
$packet =~ /SRC=([\d\.]+)/; my $srcaddr=$1;
$packet =~ /DST=([\d\.]+)/; my $dstaddr=$1;
$packet =~ /MAC=([\w+\:]+)/; my $macaddr=$1;