add IP Address to PC92 A record
[spider.git] / perl / DXProtout.pm
index 5347ce21f5e55768b7daf30001ee97ff626357b2..c76569d8e3626f2b20050d206c6e88be43b731b0 100644 (file)
@@ -11,7 +11,7 @@
 
 package DXProt;
 
-@ISA = qw(DXProt DXChannel);
+@ISA = qw(DXChannel);
 
 use DXUtil;
 use DXM;
@@ -410,7 +410,7 @@ sub gen_pc92_with_time
 # add a local one
 sub pc92a
 {
-       return _gen_pc92('A', 0, @_);
+       return _gen_pc92('A', 2, @_);
 }
 
 # delete a local one
@@ -430,7 +430,7 @@ sub pc92k
 {
        my $nref = shift;
        my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^K";
-       $s .= "^" . _encode_pc92_call($nref, 1);
+       $s .= "^" . _encode_pc92_call($nref, 1) . ":$main::me->{build}";
        $s .= "^" . scalar $nref->nodes;
        $s .= "^" . scalar $nref->users;
        return $s . '^H99^';