merged back NEW_ROUTE into trunk
[spider.git] / cmd / show / station.pl
index 4aadd22292e7c1f2536001108263d9bf390f07b2..b5b0f6c5a77986897fceea50a997c10dcab9483b 100644 (file)
@@ -59,9 +59,8 @@ if (@f == 0) {
                                $miles = $dx * 0.62133785;
                        }
                        
-                       my $cref = DXCluster->get_exact($call);
-                       $cref = DXCluster->get($call) unless $cref;
-                       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)";