X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=ec9abaa0b0f2c41e945fd205bb24c6dc7dc883e5;hb=2c50f9b4b2b3f29b000d77623a9d7c3748933aef;hp=4f4da1e50677953c3d1a8235703f0e22849abff2;hpb=93292dcd622b1505d2cbab334277c89e7c8afd27;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 4f4da1e5..ec9abaa0 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -380,6 +380,7 @@ sub _gen_pc92 my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^$sort"; for (@_) { $s .= "^" . _encode_pc92_call($_, $ext); + $ext = 0; # only the first slot has an ext. } return $s . '^H99^'; } @@ -415,6 +416,12 @@ sub pc92c return _gen_pc92('C', 1, @_); } +# send a keep alive +sub pc92k +{ + return _gen_pc92('K', 1, @_); +} + # send a 'find' message sub pc92f {