summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-11-06 03:14:37 +0000
committerderaadt <deraadt@openbsd.org>2006-11-06 03:14:37 +0000
commit128d710f3fc95b3bcfba329ec163589f1997cbc2 (patch)
tree675d7729d7a971b7c96b16229e942f54be5d2412 /usr.sbin/httpd/src
parentadd the MCP67 PATA and SATA PCI ids as well as fixing nforce_chip_map() to (diff)
downloadwireguard-openbsd-128d710f3fc95b3bcfba329ec163589f1997cbc2.tar.xz
wireguard-openbsd-128d710f3fc95b3bcfba329ec163589f1997cbc2.zip
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
Diffstat (limited to 'usr.sbin/httpd/src')
-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 */