mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
log agw port on connection
This commit is contained in:
parent
79d9dda3ba
commit
022b68994a
2
Changes
2
Changes
@ -1,3 +1,5 @@
|
||||
21Mar05=======================================================================
|
||||
1. log AGW port on connection
|
||||
16Mar05=======================================================================
|
||||
1. make the correct correction to the DL entry in wpxloc.raw (left out the
|
||||
'N' of 'North' in the latitude).
|
||||
|
@ -87,7 +87,9 @@ sub start
|
||||
my $name = $user->{name};
|
||||
|
||||
# log it
|
||||
my $host = $self->{conn}->{peerhost} || "unknown";
|
||||
my $host = $self->{conn}->{peerhost};
|
||||
$host ||= "AGW Port #$self->{conn}->{agwport}" if exists $self->{conn}->{agwport};
|
||||
$host ||= "unknown";
|
||||
Log('DXCommand', "$call connected from $host");
|
||||
|
||||
$self->{name} = $name ? $name : $call;
|
||||
|
@ -249,7 +249,10 @@ sub start
|
||||
my $user = $self->{user};
|
||||
|
||||
# log it
|
||||
my $host = $self->{conn}->{peerhost} || "unknown";
|
||||
my $host = $self->{conn}->{peerhost};
|
||||
$host ||= "AGW Port #$self->{conn}->{agwport}" if exists $self->{conn}->{agwport};
|
||||
$host ||= "unknown";
|
||||
|
||||
Log('DXProt', "$call connected from $host");
|
||||
|
||||
# remember type of connection
|
||||
|
Loading…
Reference in New Issue
Block a user