projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7daa8d6
)
make isolation work in both directions again?
author
minima
<minima>
Sun, 19 Aug 2001 14:33:50 +0000
(14:33 +0000)
committer
minima
<minima>
Sun, 19 Aug 2001 14:33:50 +0000
(14:33 +0000)
Changes
patch
|
blob
|
history
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index 7d5907505fe2c304c662f6cc1d0209a6c8af8ce6..20d4649e6c88598f786a2eaea228bf60e2ed2fcf 100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,5
+1,6
@@
19Aug01=======================================================================
1. Fix rcmds
19Aug01=======================================================================
1. Fix rcmds
+2. make isolation when there are no filters present work again?
17Aug01=======================================================================
1. Sort out PC41 handling to include type 5 records for QRA locators and also
remove all filtering (but retain ephemeral dup checking).
17Aug01=======================================================================
1. Sort out PC41 handling to include type 5 records for QRA locators and also
remove all filtering (but retain ephemeral dup checking).
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');