add more fixes for peerhosts
[spider.git] / perl / UDPMsg.pm
index 566f021050380fa70e1028a0034c773505029805..b7241f9156dcd7896684031d6ab980971eab414b 100644 (file)
@@ -201,6 +201,13 @@ sub _find
        return $circuit{$call};
 }
 
+sub peerhost
+{
+       my $conn = shift;
+       $conn->{peerhost} ||= 'ax25';
+       return $conn->{peerhost};
+}
+
 sub connect
 {
        my ($conn, $line) = @_;