--- lighttpd-1.4.13/src/network.c.orig 2007-03-21 08:00:29.423863640 -0500 +++ lighttpd-1.4.13/src/network.c 2007-03-21 08:02:43.812176788 -0500 @@ -133,7 +133,10 @@ return -1; } - if (*host == '\0') host = NULL; + if (*host == '\0') { + host = NULL; + if( 1 == ( **(srv->config_storage) ).use_ipv6 ) s->use_ipv6 = 1; + } if (is_unix_domain_socket) { #ifdef HAVE_SYS_UN_H