2 # show the cluster routing tables to the user
4 # Copyright (c) 1998 Dirk Koopman G1TLH
9 my ($self, $line) = @_;
10 my @list = map { uc } split /\s+/, $line; # list of callsigns of nodes
12 my @nodes = (DXNode::get_all());
15 push @out, "Node Callsigns";
16 foreach $node (@nodes) {
18 next if !grep $node->call eq $_, @list;
22 my $call = $node->call;
23 $call = "($call)" if $node->here == 0;
25 my $nlist = $node->list;
26 my @val = values %{$nlist};
27 foreach $call (@val) {
29 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l;
34 my $s = $call->{call};
35 $s = sprintf "(%s)", $s if $call->{here} == 0;
39 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l;