projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always set flags field to here on new
[spider.git]
/
cmd
/
show
/
route.pl
diff --git
a/cmd/show/route.pl
b/cmd/show/route.pl
index 95497d2d9d02c96806e332def3ff97a84b92126d..45214003ac22165ebfefc2079935b5e4ba257113 100644
(file)
--- 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 $l;
foreach $l (@list) {
- my $ref =
DXCluster->get_exac
t($l);
+ my $ref =
Route::ge
t($l);
if ($ref) {
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);
}
} else {
push @out, $self->msg('e7', $l);
}