put dx.pl into an explicit handle sub
[spider.git] / perl / AGWMsg.pm
index fdd4bc18314fa3cd5caab58afc0674abec2043a6..910d32cc4c94c50c1f75b023f1666014fcfcb352 100644 (file)
@@ -409,6 +409,13 @@ sub _find
        return $circuit{$call};
 }
 
+sub peerhost
+{
+       my $conn = shift;
+       $conn->{peerhost} ||= 'ax25';
+       return $conn->{peerhost};
+}
+
 sub connect
 {
        my ($conn, $line) = @_;