blob: 7554aea1d3cc6578dc3da0e2b31d83e1f3826aa5 (
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
|
--- mod_bw.c.NEW 2014-10-06 12:14:47.963722589 +1100
+++ mod_bw.c 2014-10-06 12:15:44.767721163 +1100
@@ -472,7 +472,7 @@
return e[i].rate;
case T_IP:
- if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
+ if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) {
return e[i].rate;
}
break;
@@ -555,7 +555,7 @@
return e[i].max;
case T_IP:
- if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
+ if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) {
return e[i].max;
}
break;
@@ -600,7 +600,7 @@
return e[i].sid;
case T_IP:
- if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
+ if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) {
return e[i].sid;
}
break;
|