projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make isolation work in both directions again?
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 88433b5726985a04dc17ed47163c270d272a125c..7359fdead0d7a85f2c6d51ff4ab36e2a0c147329 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1754,7
+1754,7
@@
sub send_route
$routeit = adjust_hops($self, $line); # adjust its hop count by node name
next unless $routeit;
}
$routeit = adjust_hops($self, $line); # adjust its hop count by node name
next unless $routeit;
}
- $self->send($routeit)
if $self->{routefilter} || !$self->{isolate}
;
+ $self->send($routeit);
}
}
}
}
}
}
@@
-1770,7
+1770,7
@@
sub broadcast_route
foreach $dxchan (@dxchan) {
next if $dxchan == $self;
next if $dxchan == $me;
foreach $dxchan (@dxchan) {
next if $dxchan == $self;
next if $dxchan == $me;
- if ($dxchan->{routefilter} ||
!$self->{isolate}
) {
+ if ($dxchan->{routefilter} ||
(!$self->{isolate} && !$dxchan->{isolate})
) {
$dxchan->send_route($generate, @_)
} else {
dbg('DXPROT: isolated') if isdbg('chanerr');
$dxchan->send_route($generate, @_)
} else {
dbg('DXPROT: isolated') if isdbg('chanerr');