- my @out;
- my $dxchan;
- my $n = @_;
-
- while (@_) {
- my $str = sprintf "PC90^%s^%X^%s%d", $node->call, $main::systime, $sort, $n-1 ;
- for (; @_ && length $str < 200;) {
- my $ref = shift;
- next if $ref == $main::me;
- 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";
- } else {
- $str .= "^U$flag$call";
+ my $s = "PC92^$sort^" . _gen_time;
+ for (@_) {
+ my $flag = 0;
+ my $call = $_->call;
+ my $extra = '';
+ if ($_->isa('Route::Node')) {
+ $flag = 4;
+ if ($call ne $main::mycall && DXChannel::get($call)) {
+ $flag += 2;
+ }
+ if ($sort eq 'C') {
+ $extra .= ':' . ($_->version || '') if $_->build;
+ $extra .= ':' . $_->build if $_->build;