X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FFilter.pm;h=031ec92669a6cd200729d40ddef70d9e58d92e15;hb=d856b7a8fa2eafb3b2901d4bef9565221e7cf6a2;hp=2e1f4555ff78e25fbb66c5aca397ac98bf0535e4;hpb=a9fcec83aaf40b177ea3b7730a737cdca88eb388;p=spider.git diff --git a/perl/Filter.pm b/perl/Filter.pm index 2e1f4555..031ec926 100644 --- a/perl/Filter.pm +++ b/perl/Filter.pm @@ -220,12 +220,12 @@ sub it if (isdbg('filter')) { my $args = join '\',\'', @_; - my $true = $r ? "OK" : "REJ"; + my $true = $r ? "OK " : "REJ"; my $sort = $self->{sort}; my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT"; - $hops ||= "none"; - dbg("$dir: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter'); + my $h = $hops || ''; + dbg("$true $dir: $type/$sort with $asc on '$args' $h") if isdbg('filter'); } return ($r, $hops); }