projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added code to allow filtering on spot channel callsign
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index b1d37a9b8e0e741447a2343655c0fdd2acafeec5..a6982f1f2bf53a47025e22200556f58c7ba39522 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-238,10
+238,10
@@
sub normal
foreach $dxchan (@dxchan) {
next if $dxchan == $self;
my $routeit;
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) {
if ($hops) {
- $line =~ s/\^H\d+\^\~$/\^H$hops\^\~/;
$routeit = $line;
$routeit = $line;
+ $routeit =~ s/\^H\d+\^\~$/\^H$hops\^\~/;
} else {
$routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name
next unless $routeit;
} else {
$routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name
next unless $routeit;