New improved route finding algorithm
[spider.git] / cmd / show / route.pl
index 6d1c194c2f65b27dfe0aa3ff558303f571b53992..c927e8dc265c4d55ed9a7bcf7604888ad0145249 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2001 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -12,8 +12,6 @@ my @out;
 
 return (1, $self->msg('e6')) unless @list;
 
-use RouteDB;
-
 my $l;
 foreach $l (@list) {
        my $ref = Route::get($l);
@@ -23,13 +21,6 @@ foreach $l (@list) {
        } else {
                push @out, $self->msg('e7', $l);
        }
-       my @in = RouteDB::_sorted($l);
-       if (@in) {
-               push @out, "Learned Routes:";
-               for (@in) {
-                       push @out, "$l via $_->{call} count: $_->{count} last heard: " . atime($_->{t});
-               }
-       }
 }
 
 return (1, @out);