X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FFilter.pm;h=82130b932041f35a8f2039fb0d433bdf7e96f29a;hb=57f8bfa8204fa6af0d4ed605ee694e6c6ebff40a;hp=676cef2b61a12c5c96cb7e956e1ab0a3a8891627;hpb=905063b392672f001b4900bb9033c8fefa77f2d5;p=spider.git diff --git a/perl/Filter.pm b/perl/Filter.pm index 676cef2b..82130b93 100644 --- a/perl/Filter.pm +++ b/perl/Filter.pm @@ -216,16 +216,16 @@ sub it } # hops are done differently (simply) - my $hops = $self->{hops} if exists $self->{hops}; + my $hops = "H$self->{hops}" if exists $self->{hops}; 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"; + my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT"; - $hops ||= "none"; - dbg("$dir: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter'); + $hops ||= "H?"; + dbg("$true $dir: $type/$sort with $asc on '$args' $hops") if isdbg('filter'); } return ($r, $hops); }