projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed display for nodes in sh/route and sh/st
[spider.git]
/
cmd
/
show
/
route.pl
diff --git
a/cmd/show/route.pl
b/cmd/show/route.pl
index 45214003ac22165ebfefc2079935b5e4ba257113..dda65bd9944caf6ab350e587ba30be92f8d42290 100644
(file)
--- a/
cmd/show/route.pl
+++ b/
cmd/show/route.pl
@@
-16,7
+16,7
@@
my $l;
foreach $l (@list) {
my $ref = Route::get($l);
if ($ref) {
foreach $l (@list) {
my $ref = Route::get($l);
if ($ref) {
- my $parents =
join ',', $ref->parents
;
+ my $parents =
$ref->isa('Route::Node') ? $l : join(',', $ref->parents)
;
my $dxchan = $ref->dxchan;
push @out, $self->msg('route', $l, $parents, $dxchan->call);
} else {
my $dxchan = $ref->dxchan;
push @out, $self->msg('route', $l, $parents, $dxchan->call);
} else {