$NetBSD: patch-aa,v 1.2 2007/12/15 16:41:51 seb Exp $ Fix for LP64 big-endian platforms. --- http/engine.c.orig 2007-07-29 20:23:26.000000000 +0000 +++ http/engine.c @@ -246,7 +246,7 @@ int add_host_allow(char *name) { struct sockaddr_in *sin = (struct sockaddr_in *)_res->ai_addr; NEW(h); - memcpy(&h->network, &sin->sin_addr, 4); + h->network = sin->sin_addr.s_addr; h->mask= 0xffffffff; LOCK(hostlist_mutex) if(hostlist) {