]> gitweb.michael.orlitzky.com - mjo-overlay.git/blob - www-apache/mod_perl/files/use-client_ip-client_add-instead-of-remote_ip-remote.patch
Add www-apache/mod_perl from ::gentoo.
[mjo-overlay.git] / www-apache / mod_perl / files / use-client_ip-client_add-instead-of-remote_ip-remote.patch
1 From 3fb7843aa2aa992be430068929f4e1cc7787a233 Mon Sep 17 00:00:00 2001
2 From: Martin Jansa <Martin.Jansa@gmail.com>
3 Date: Tue, 3 Apr 2012 19:25:41 +0200
4 Subject: [PATCH] use client_ip/client_add instead of remote_ip/remote_addr
5
6 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7 ---
8 xs/maps/apache2_structures.map | 4 ++--
9 xs/tables/current/Apache2/StructureTable.pm | 4 ++--
10 2 files changed, 4 insertions(+), 4 deletions(-)
11
12 diff --git a/xs/maps/apache2_structures.map b/xs/maps/apache2_structures.map
13 index f86ec93..c0fcf78 100644
14 --- a/xs/maps/apache2_structures.map
15 +++ b/xs/maps/apache2_structures.map
16 @@ -106,8 +106,8 @@ $ limit_req_fields
17 < local_addr
18 < local_ip
19 < local_host
20 -< remote_addr
21 - remote_ip
22 +< client_addr
23 + client_ip
24 < remote_host
25 - remote_logname
26 < aborted
27 diff --git a/xs/tables/current/Apache2/StructureTable.pm b/xs/tables/current/Apache2/StructureTable.pm
28 index af50be1..0c0465a 100644
29 --- a/xs/tables/current/Apache2/StructureTable.pm
30 +++ b/xs/tables/current/Apache2/StructureTable.pm
31 @@ -2708,11 +2708,11 @@ $Apache2::StructureTable = [
32 },
33 {
34 'type' => 'apr_sockaddr_t *',
35 - 'name' => 'remote_addr'
36 + 'name' => 'client_addr'
37 },
38 {
39 'type' => 'char *',
40 - 'name' => 'remote_ip'
41 + 'name' => 'client_ip'
42 },
43 {
44 'type' => 'char *',
45 --
46 1.7.8.5
47