tags 666797 +upstream +patch
thanks

Hi Thomas,

please try the attached patch. I didn't verify whether it really does
what I think, but it compiles fine now. You may want to forward the
patch to upstream once you tested it.

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
Description: Port connection object to Apache 2.4 API
 Replace conn_rec->remote_ip by request_rec->useragent_ip
 .
 See http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html
Author: Arno Töll <[email protected]>

Last-Update: 2012-04-21

--- a/functions.h
+++ b/functions.h
@@ -14,7 +14,7 @@
 
 static const char *extract_remote_address(request_rec *r, char *a)
 {
-    return r->connection->remote_ip;
+    return r->useragent_ip;
 }
 
 static const char *extract_local_address(request_rec *r, char *a) __attribute__((unused));

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to