]> dxcluster.net Git - spider.git/commitdiff
show all the routes
authorminima <minima>
Mon, 20 Jan 2003 17:08:16 +0000 (17:08 +0000)
committerminima <minima>
Mon, 20 Jan 2003 17:08:16 +0000 (17:08 +0000)
cmd/show/route.pl

index dda65bd9944caf6ab350e587ba30be92f8d42290..4ebebde3242dd799c8568afc2b348af6ff355aa1 100644 (file)
@@ -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 $dxchan = $ref->dxchan;
-               push @out, $self->msg('route', $l, $parents,  $dxchan->call);
+               push @out, $self->msg('route', $l, $parents,  join(',', map {$_->call} $ref->alldxchan));
        } else {
                push @out, $self->msg('e7', $l);
        }