X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fstat%2Fnodeconfig.pl;h=88e353d26f1bee3055d596e78ca243cfe8d45d55;hb=8081646e932b160975ad061a7a2741418b099761;hp=00f1c94cabb4a65dc061c99d158ff0524758160a;hpb=624fab70a1d3994e74f7121c449b67c174afef29;p=spider.git diff --git a/cmd/stat/nodeconfig.pl b/cmd/stat/nodeconfig.pl index 00f1c94c..88e353d2 100644 --- a/cmd/stat/nodeconfig.pl +++ b/cmd/stat/nodeconfig.pl @@ -15,7 +15,7 @@ foreach my $nref (@nodes) { my $ncall = $nref->call; next if @list && !grep $ncall =~ m|$_|, @list; my $call = $nref->user_call; - my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort @{$nref->parent}); + my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort $nref->parents); push @out, "$call->$l"; }