mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
remove ::ffff: at source on connect
This commit is contained in:
parent
edc4edfd6d
commit
0bca436851
2
Changes
2
Changes
@ -1,3 +1,5 @@
|
||||
06Jan22=======================================================================
|
||||
1. Backport various Mojo branch "security" fixes.
|
||||
12Dec21=======================================================================
|
||||
1. fix git describe et al AGAIN to cope with (very) old (2009) git versions.
|
||||
2. Change version strings to include perl version in use.
|
||||
|
@ -205,6 +205,7 @@ sub peerhost
|
||||
$conn->{peerhost} ||= 'ax25' if $conn->ax25;
|
||||
$conn->{peerhost} ||= $conn->{sock}->peerhost if $conn->{sock} && $conn->{sock}->isa('IO::Socket::INET');
|
||||
$conn->{peerhost} ||= 'UNKNOWN';
|
||||
$conn->{peerhost} =~ s/^::ffff://;
|
||||
return $conn->{peerhost};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user