summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-06 03:14:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-06 03:14:38 +0000
commitc5123ce177affe957a51776a9359791ed8c71f2f (patch)
treef59147a9dbce35c4b504ac2651ed4889bb07040a
parent40478f28211a57fc39ac85ec664af7b66fbe2643 (diff)
fix proxying on big-endian 64-bit machines, u_long is not the size of
an ip address, that's for sure; pr 5232 arjones@simultan.dyndns.org
-rw-r--r--usr.sbin/httpd/src/modules/proxy/mod_proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/proxy/mod_proxy.h b/usr.sbin/httpd/src/modules/proxy/mod_proxy.h
index 2348afa0852..78e9b17c919 100644
--- a/usr.sbin/httpd/src/modules/proxy/mod_proxy.h
+++ b/usr.sbin/httpd/src/modules/proxy/mod_proxy.h
@@ -258,7 +258,7 @@ typedef struct {
struct per_thread_data {
struct hostent hpbuf;
- u_long ipaddr;
+ in_addr_t ipaddr;
char *charpbuf[2];
};
/* Function prototypes */