add more routing code together with associated commands
[spider.git] / cmd / show / configuration.pl
index 6f2e1e935a8014f06c5373138675fc0de94d7307..ba0f38787e8c987246c21932323d261bb54f91c3 100644 (file)
@@ -16,7 +16,7 @@ my @val;
 
 push @out, "Node         Callsigns";
 if ($list[0] && $list[0] =~ /^NOD/) {
-       my @ch = sort {$a->call cmp $b->call} DXProt::get_all_ak1a();
+       my @ch = sort {$a->call cmp $b->call} DXChannel::get_all_nodes();
        my $dxchan;
        
        foreach $dxchan (@ch) {
@@ -44,7 +44,7 @@ if ($list[0] && $list[0] =~ /^NOD/) {
 } else {
        # build up the screen from the Node table
        foreach $node (@nodes) {
-               next if scalar @list && !grep $node->call eq $_, @list;
+               next if scalar @list && !grep $node->call =~ /^$_/, @list;
                my $call = $node->call;
                $call = "($call)" if $node->here == 0;
                @l = ();