fix corrupted hops
authorminima <minima>
Fri, 15 Jun 2001 12:21:11 +0000 (12:21 +0000)
committerminima <minima>
Fri, 15 Jun 2001 12:21:11 +0000 (12:21 +0000)
perl/Filter.pm

index 82130b932041f35a8f2039fb0d433bdf7e96f29a..031ec92669a6cd200729d40ddef70d9e58d92e15 100644 (file)
@@ -216,7 +216,7 @@ sub it
        }
 
        # hops are done differently (simply) 
-       my $hops = "H$self->{hops}" if exists $self->{hops};
+       my $hops = $self->{hops} if exists $self->{hops};
 
        if (isdbg('filter')) {
                my $args = join '\',\'', @_;
@@ -224,8 +224,8 @@ sub it
                my $sort = $self->{sort};
                my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT";
                
-               $hops ||= "H?";
-               dbg("$true $dir: $type/$sort with $asc on '$args' $hops") if isdbg('filter');
+               my $h = $hops || '';
+               dbg("$true $dir: $type/$sort with $asc on '$args' $h") if isdbg('filter');
        }
        return ($r, $hops);
 }