|
|
|
@ -98,9 +98,11 @@ entropy_filter_in( |
|
|
|
/** |
|
|
|
* add client ip to sha1 |
|
|
|
*/ |
|
|
|
remote_ip = (ap_version.minor < 4)? |
|
|
|
connection->remote_ip: |
|
|
|
connection->client_ip; |
|
|
|
#if 4 > HTTP_VERSION_MINOR(number) |
|
|
|
remote_ip = connection->remote_ip; |
|
|
|
#else |
|
|
|
remote_ip = connection->client_ip; |
|
|
|
#endif |
|
|
|
|
|
|
|
apr_sha1_update(&sha1_ctx, remote_ip, strlen(remote_ip)); |
|
|
|
|
|
|
|
|