]> granicus.if.org Git - apache/blobdiff - modules/aaa/mod_access_compat.c
Introduce a per request version of the remote IP address, which can be
[apache] / modules / aaa / mod_access_compat.c
index 3d5d535f44c4239cb3140774db4354f340b03260..00352bada9341b47c78b294999293a1e4bed7d71 100644 (file)
@@ -271,7 +271,7 @@ static int find_allowdeny(request_rec *r, apr_array_header_t *a, int method)
             return 1;
 
         case T_IP:
-            if (apr_ipsubnet_test(ap[i].x.ip, r->connection->remote_addr)) {
+            if (apr_ipsubnet_test(ap[i].x.ip, r->remote_addr)) {
                 return 1;
             }
             break;