summaryrefslogtreecommitdiff
blob: 1a695b85409cda7bb930436955b00c18a7547a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From 3fb7843aa2aa992be430068929f4e1cc7787a233 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Tue, 3 Apr 2012 19:25:41 +0200
Subject: [PATCH] use client_ip/client_add instead of remote_ip/remote_addr

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 xs/maps/apache2_structures.map              |    4 ++--
 xs/tables/current/Apache2/StructureTable.pm |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/xs/maps/apache2_structures.map b/xs/maps/apache2_structures.map
index f86ec93..c0fcf78 100644
--- a/xs/maps/apache2_structures.map
+++ b/xs/maps/apache2_structures.map
@@ -106,8 +106,8 @@ $  limit_req_fields
 <  local_addr
 <  local_ip
 <  local_host
-<  remote_addr
-   remote_ip
+<  client_addr
+   client_ip
 <  remote_host
 -  remote_logname
 <  aborted
diff --git a/xs/tables/current/Apache2/StructureTable.pm b/xs/tables/current/Apache2/StructureTable.pm
index af50be1..0c0465a 100644
--- a/xs/tables/current/Apache2/StructureTable.pm
+++ b/xs/tables/current/Apache2/StructureTable.pm
@@ -2708,11 +2708,11 @@ $Apache2::StructureTable = [
       },
       {
         'type' => 'apr_sockaddr_t *',
-        'name' => 'remote_addr'
+        'name' => 'client_addr'
       },
       {
         'type' => 'char *',
-        'name' => 'remote_ip'
+        'name' => 'client_ip'
       },
       {
         'type' => 'char *',
-- 
1.7.8.5