X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FUDPMsg.pm;h=b7241f9156dcd7896684031d6ab980971eab414b;hb=520b5d73641f384e1ba59e4cb6b5ab84b54baf5a;hp=07703148e414065f616c0d84e734295121a97bb2;hpb=7b9256ceade8b18b48f848c9ac659c2de7322b0b;p=spider.git diff --git a/perl/UDPMsg.pm b/perl/UDPMsg.pm index 07703148..b7241f91 100644 --- a/perl/UDPMsg.pm +++ b/perl/UDPMsg.pm @@ -7,7 +7,7 @@ # # This class will morph into (and is the test bed for) Multicasts # -# $Id$ +# # # Copyright (c) 2002 - Dirk Koopman G1TLH # @@ -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) = @_;