projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New improved route finding algorithm
[spider.git]
/
cmd
/
show
/
route.pl
diff --git
a/cmd/show/route.pl
b/cmd/show/route.pl
index dda65bd9944caf6ab350e587ba30be92f8d42290..c927e8dc265c4d55ed9a7bcf7604888ad0145249 100644
(file)
--- a/
cmd/show/route.pl
+++ b/
cmd/show/route.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 2001 Dirk Koopman G1TLH
#
#
# Copyright (c) 2001 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-17,8
+17,7
@@
foreach $l (@list) {
my $ref = Route::get($l);
if ($ref) {
my $parents = $ref->isa('Route::Node') ? $l : join(',', $ref->parents);
my $ref = Route::get($l);
if ($ref) {
my $parents = $ref->isa('Route::Node') ? $l : join(',', $ref->parents);
- my $dxchan = $ref->dxchan;
- push @out, $self->msg('route', $l, $parents, $dxchan->call);
+ push @out, $self->msg('route', $l, $parents, join(',', map {$_->call} Route::findroutes($l)));
} else {
push @out, $self->msg('e7', $l);
}
} else {
push @out, $self->msg('e7', $l);
}