X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=67376e11f5efc5dd3e487949d0871dad6cdd2436;hb=b1d2bac29bfd88be5ba6d4b59df4574b15e402b6;hp=38ace99bf1cb2ac9e379943a31805f58c23582e1;hpb=70908cf7f69eb4fc0caf5d735382bc2c1c1466a3;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 38ace99b..67376e11 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -363,35 +363,6 @@ sub pc85 # spider route broadcast sub pc90 { - my $node = shift; - my $sort = shift; - my @out; - my $dxchan; - - while (@_) { - my $str = ''; - for (; @_ && length $str <= 230;) { - my $ref = shift; - my $call = $ref->call; - my $flag = 0; - - $flag += 1 if $ref->here; - $flag += 2 if $ref->conf; - if ($ref->is_node) { - my $ping = int($ref->pingave * 10); - $str .= "^N$flag$call,$ping"; - my $v = $ref->build || $ref->version; - $str .= ",$v" if defined $v; - } else { - $str .= "^U$flag$call"; - } - } - push @out, $str if $str; - } - my $n = @out; - my $h = get_hops(90); - @out = map { sprintf "PC90^%s^%X^%s%d%s^%s^", $node->call, $main::systime, $sort, --$n, $_, $h } @out; - return @out; } 1;