View | Details | Raw Unified | Return to bug 53823
Collapse All | Expand All

(-)./server/config.c.orig (+5 lines)
Lines 1979-1984 Link Here
1979
    /* NOT virtual host; don't match any real network interface */
1979
    /* NOT virtual host; don't match any real network interface */
1980
    rv = apr_sockaddr_info_get(&s->addrs->host_addr,
1980
    rv = apr_sockaddr_info_get(&s->addrs->host_addr,
1981
                               NULL, APR_INET, 0, 0, p);
1981
                               NULL, APR_INET, 0, 0, p);
1982
#if APR_HAVE_IPV6
1983
    if (rv != APR_SUCCESS)
1984
	    rv = apr_sockaddr_info_get(&s->addrs->host_addr,
1985
			    NULL, APR_INET6, 0, 0, p);
1986
#endif    
1982
    ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */
1987
    ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */
1983
1988
1984
    s->addrs->host_port = 0; /* matches any port */
1989
    s->addrs->host_port = 0; /* matches any port */

Return to bug 53823