spider/cmd/show/newconfiguration.pl
Dirk Koopman 6230850db2 Fix initial set of bugs pointed on mailing list
1. Fix Alias for sh/mydx (so it isn't the same as sh/myfdx).
2. Fix sh/c/n uninitialised variable message
3. Fix (and improve) sh/newc gb7 problem
2007-06-22 18:50:11 +01:00

22 lines
394 B
Perl

#
# show the new style cluster routing tables to the user
#
# Copyright (c) 2001 Dirk Koopman G1TLH
#
# $Id$
#
my ($self, $line) = @_;
my @list = map { uc } split /\s+/, $line; # list of callsigns of nodes
my @out;
my $nodes_only;
if (@list && $list[0] =~ /^NOD/) {
$nodes_only++;
shift @list;
}
push @out, $main::routeroot->config($nodes_only, 0, {}, @list);
return (1, @out);