X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fnewconfiguration.pl;h=3093944266427f9be3d6d5dbe6bd2ebeef862f33;hb=c1540ccd7990ec4bd151604dd63583d19fe4d0f6;hp=63414e0641b2d474101ed4287017f905d391912b;hpb=7a3918d750c1afaf42ab26eb89a7df9033ca9f37;p=spider.git diff --git a/cmd/show/newconfiguration.pl b/cmd/show/newconfiguration.pl index 63414e06..30939442 100644 --- a/cmd/show/newconfiguration.pl +++ b/cmd/show/newconfiguration.pl @@ -9,10 +9,10 @@ my ($self, $line) = @_; my @list = map { uc } split /\s+/, $line; # list of callsigns of nodes my @out; -my $nodes_only; +my $nodes_only = 1; -if (@list && $list[0] =~ /^NOD/) { - $nodes_only++; +if (@list && $list[0] =~ /^USE/) { + $nodes_only = 0; shift @list; }