add the ability to limit no of connections
[spider.git] / cmd / stat / nodeconfig.pl
index 5fa45b9eabc984d9a2eabd0dd7b04e87e45e51a8..88e353d26f1bee3055d596e78ca243cfe8d45d55 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2001 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -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";
 }