more cosmetic changes
authorminima <minima>
Fri, 15 Jun 2001 11:46:06 +0000 (11:46 +0000)
committerminima <minima>
Fri, 15 Jun 2001 11:46:06 +0000 (11:46 +0000)
perl/Filter.pm

index 2e1f4555ff78e25fbb66c5aca397ac98bf0535e4..82130b932041f35a8f2039fb0d433bdf7e96f29a 100644 (file)
@@ -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";
                
-               $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);
 }