X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Froute.pl;h=45214003ac22165ebfefc2079935b5e4ba257113;hb=6624dcdf07d628e8d6a16fc6549edf40be25b7b2;hp=95497d2d9d02c96806e332def3ff97a84b92126d;hpb=ca8e84c32e70ea8eb1f30e716b7dbdc92f7e5083;p=spider.git diff --git a/cmd/show/route.pl b/cmd/show/route.pl index 95497d2d..45214003 100644 --- a/cmd/show/route.pl +++ b/cmd/show/route.pl @@ -14,9 +14,11 @@ return (1, $self->msg('e6')) unless @list; my $l; foreach $l (@list) { - my $ref = DXCluster->get_exact($l); + my $ref = Route::get($l); if ($ref) { - push @out, $self->msg('route', $l, $ref->mynode->call, $ref->dxchan->call); + my $parents = join ',', $ref->parents; + my $dxchan = $ref->dxchan; + push @out, $self->msg('route', $l, $parents, $dxchan->call); } else { push @out, $self->msg('e7', $l); }