X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=a6982f1f2bf53a47025e22200556f58c7ba39522;hb=26622cd57a1f5b29f9e22092cd4149c9a1e30dc6;hp=6d9afb4e488cd3454081c812cff384b9838dfec3;hpb=399d826c56c029796a5c0b397c61a51dfb81ff77;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 6d9afb4e..a6982f1f 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -238,9 +238,10 @@ sub normal foreach $dxchan (@dxchan) { next if $dxchan == $self; my $routeit; - my ($filter, $hops) = Filter::it($dxchan->{spotfilter}, @spot) if $dxchan->{spotfilter}; + my ($filter, $hops) = Filter::it($dxchan->{spotfilter}, @spot, $self->{call} ) if $dxchan->{spotfilter}; if ($hops) { - $line =~ s/\^H\d+\^\~$/\^H$hops\^\~/; + $routeit = $line; + $routeit =~ s/\^H\d+\^\~$/\^H$hops\^\~/; } else { $routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name next unless $routeit;