projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08c0644
)
fixed isolation for routes finally?
author
minima
<minima>
Mon, 3 Sep 2001 19:34:22 +0000
(19:34 +0000)
committer
minima
<minima>
Mon, 3 Sep 2001 19:34:22 +0000
(19:34 +0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 736cab4d41d1a58496cb0b7bfcb305dec26f557d..846a6c9245f3d0cdc45f8c3f08ea9e0a6e8e97ee 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1789,7
+1789,7
@@
sub send_route
for (; @_ && $no; $no--) {
my $r = shift;
for (; @_ && $no; $no--) {
my $r = shift;
- if ($self->{routefilter}) {
+ if (
!$self->{isolate} &&
$self->{routefilter}) {
$filter = undef;
if ($r) {
($filter, $hops) = $self->{routefilter}->it($self->{call}, $self->{dxcc}, $self->{itu}, $self->{cq}, $r->call, $r->dxcc, $r->itu, $r->cq);
$filter = undef;
if ($r) {
($filter, $hops) = $self->{routefilter}->it($self->{call}, $self->{dxcc}, $self->{itu}, $self->{cq}, $r->call, $r->dxcc, $r->itu, $r->cq);
@@
-1802,7
+1802,7
@@
sub send_route
dbg("was sent a null value") if isdbg('chanerr');
}
} else {
dbg("was sent a null value") if isdbg('chanerr');
}
} else {
- push @rin, $r;
+ push @rin, $r
unless $self->{isolate} && $r->call ne $main::mycall
;
}
}
if (@rin) {
}
}
if (@rin) {
@@
-1833,7
+1833,7
@@
sub broadcast_route
if ($dxchan->{routefilter}) {
$dxchan->send_route($generate, @_);
} else {
if ($dxchan->{routefilter}) {
$dxchan->send_route($generate, @_);
} else {
- $dxchan->send_route($generate, @_) unless $self->{isolate}
|| $dxchan->{isolate}
;
+ $dxchan->send_route($generate, @_) unless $self->{isolate};
}
}
}
}
}
}