now working to 1st order OK with two nodes.
[spider.git] / cmd / show / route.pl
index 4ebebde3242dd799c8568afc2b348af6ff355aa1..d10cf17ffc573f76238c870a10faeda5fd6f97c8 100644 (file)
@@ -16,7 +16,7 @@ my $l;
 foreach $l (@list) {
        my $ref = Route::get($l);
        if ($ref) {
-               my $parents = $ref->isa('Route::Node') ? $l : join(',', $ref->parents);
+               my $parents = $ref->isa('Route::Node') ? $l : join(',', $ref->nodes);
                push @out, $self->msg('route', $l, $parents,  join(',', map {$_->call} $ref->alldxchan));
        } else {
                push @out, $self->msg('e7', $l);