add the ability to limit no of connections
[spider.git] / cmd / stat / nodeconfig.pl
index 00f1c94cabb4a65dc061c99d158ff0524758160a..88e353d26f1bee3055d596e78ca243cfe8d45d55 100644 (file)
@@ -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";
 }