merged back NEW_ROUTE into trunk
[spider.git] / cmd / show / station.pl
index 40c7eddbe3d6f59c7805ad9cba07b9a5f7f266eb..b5b0f6c5a77986897fceea50a997c10dcab9483b 100644 (file)
@@ -59,8 +59,8 @@ if (@f == 0) {
                                $miles = $dx * 0.62133785;
                        }
                        
-                       my $cref = DXCluster->get($call);
-                       my $seek = $cref->mynode->call if $cref;
+                       my $cref = Route::get($call);
+                       my $seek = join(',', $cref->parents) if $cref;
 
                        if ($seek) {
                                push @out, "User         : $call (at $seek)";