async: add connection->local_ip, connection->local_port
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@960 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
59ed062aa9
commit
836e678e1b
@ -179,6 +179,9 @@ sub start_conversation {
|
||||
$conn->remote_ip($ip);
|
||||
$conn->remote_port($port);
|
||||
$conn->remote_info("[$ip]");
|
||||
my ($lip,$lport) = split(':', $self->local_addr_string);
|
||||
$conn->local_ip($lip);
|
||||
$conn->local_port($lport);
|
||||
|
||||
ParaDNS->new(
|
||||
finished => sub { $self->continue_read(); $self->run_hooks("connect") },
|
||||
|
Loading…
Reference in New Issue
Block a user