summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-13 18:43:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-13 18:43:14 +0000
commit46567e65e3868bec5e2a03f1d3d044137d7c6671 (patch)
tree8cb1542fef3d5a92adfc53648ed592082a94585a /usr.sbin
parente4b403a0dba02d4588bcde581c4706e091bc21aa (diff)
repair type
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/modules/standard/mod_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/standard/mod_access.c b/usr.sbin/httpd/src/modules/standard/mod_access.c
index d3705122536..c1f33c48e18 100644
--- a/usr.sbin/httpd/src/modules/standard/mod_access.c
+++ b/usr.sbin/httpd/src/modules/standard/mod_access.c
@@ -486,7 +486,7 @@ static int find_allowdeny(request_rec *r, array_header *a, int method)
masked.s6_addr[10] = masked.s6_addr[11] = 0xff;
memcpy(&masked.s6_addr[12],
&((struct sockaddr_in *)&r->connection->remote_addr)->sin_addr.s_addr,
- sizeof(struct in_addr_t));
+ sizeof(in_addr_t));
for (j = 0; j < sizeof(struct in6_addr); j++)
masked.s6_addr[j] &= ap[i].x.ip6.mask6.s6_addr[j];
if (memcmp(&masked, &ap[i].x.ip6.net6, sizeof(masked)) == 0)