From 86c0d8d95e71621e473df418e3c6a27fa01d0f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Tue, 31 Jul 2007 00:06:15 +0000 Subject: [PATCH] Make connection->local_ip available from the Apache transport (Peter Eisch) git-svn-id: https://svn.perl.org/qpsmtpd/trunk@761 958fd67b-6ff1-0310-b445-bb7760255be9 --- Changes | 5 +++++ lib/Apache/Qpsmtpd.pm | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 85f556f..5ce30b0 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,8 @@ +0.41 + + Make connection->local_ip available from the Apache transport (Peter Eisch) + + 0.40 - June 11, 2007 Add async server - uses epoll/kqueue/poll where available. (Matt Sergeant) diff --git a/lib/Apache/Qpsmtpd.pm b/lib/Apache/Qpsmtpd.pm index f675e2e..62cca9c 100644 --- a/lib/Apache/Qpsmtpd.pm +++ b/lib/Apache/Qpsmtpd.pm @@ -62,7 +62,9 @@ sub start_connection { remote_info => $remote_info, remote_ip => $remote_ip, remote_host => $remote_host, - @_); + local_ip => $opts{conn}->local_ip, + @_ + ); } sub config {