projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add convert-users-v3-to-v4.pl
[spider.git]
/
perl
/
UDPMsg.pm
diff --git
a/perl/UDPMsg.pm
b/perl/UDPMsg.pm
index 72e53de813cfd462c7459c4b276adf37f88d75bf..b7241f9156dcd7896684031d6ab980971eab414b 100644
(file)
--- a/
perl/UDPMsg.pm
+++ b/
perl/UDPMsg.pm
@@
-7,7
+7,7
@@
#
# This class will morph into (and is the test bed for) Multicasts
#
#
# This class will morph into (and is the test bed for) Multicasts
#
-#
$Id$
+#
#
# Copyright (c) 2002 - Dirk Koopman G1TLH
#
#
# Copyright (c) 2002 - Dirk Koopman G1TLH
#
@@
-32,12
+32,6
@@
$noports = 0;
%circuit = ();
$total_in = $total_out = 0;
%circuit = ();
$total_in = $total_out = 0;
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
sub init
{
return unless $enable;
sub init
{
return unless $enable;
@@
-207,6
+201,13
@@
sub _find
return $circuit{$call};
}
return $circuit{$call};
}
+sub peerhost
+{
+ my $conn = shift;
+ $conn->{peerhost} ||= 'ax25';
+ return $conn->{peerhost};
+}
+
sub connect
{
my ($conn, $line) = @_;
sub connect
{
my ($conn, $line) = @_;