diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-03 08:57:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-03 08:57:50 +0700 |
commit | 952c093f0fd8113e5f3859e89d92fcba5579ed16 (patch) | |
tree | 57e5ca8d133aa9095f823b78d74fe3bf6cec4a7a /network/mod_bw/apache24.patch | |
parent | 4cd63afd3e2ca8d60ff182bb542d7ce28aca18d0 (diff) | |
download | slackbuilds-952c093f0fd8113e5f3859e89d92fcba5579ed16.tar.gz |
network/mod_bw: Added (apache module).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mod_bw/apache24.patch')
-rw-r--r-- | network/mod_bw/apache24.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/network/mod_bw/apache24.patch b/network/mod_bw/apache24.patch new file mode 100644 index 0000000000..7554aea1d3 --- /dev/null +++ b/network/mod_bw/apache24.patch @@ -0,0 +1,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; |