if ($@) {
my $sort = $ref->{sort};
my $name = $ref->{name};
- dbg("Error compiling $ar $sort $name: $@") if isdbg('err');
+ dbg("Error compiling $ar $sort $name: $@");
Log('err', "Error compiling $ar $sort $name: $@");
}
$rr = $@;
if (isdbg('filter')) {
my $args = join '\',\'', @_;
- my $true = $r ? "OK" : "REJ";
+ my $true = $r ? "OK " : "REJ";
my $sort = $self->{sort};
- $hops ||= "none";
- dbg("Filter: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter');
+ my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT";
+
+ my $h = $hops || '';
+ dbg("$true $dir: $type/$sort with $asc on '$args' $h") if isdbg('filter');
}
return ($r, $hops);
}