diff options
author | Stefan Fritsch <sf@apache.org> | 2011-07-13 21:21:11 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-07-13 21:21:11 +0200 |
commit | 527d18b6ca50c41db14c18ac4af93179f31507dd (patch) | |
tree | 1bdddbd04fa831f32976986ebf93d269c80657fd /server | |
parent | Add some environment variables to the whitelist in suexec (diff) | |
download | apache2-527d18b6ca50c41db14c18ac4af93179f31507dd.tar.xz apache2-527d18b6ca50c41db14c18ac4af93179f31507dd.zip |
Use APR_UNSPEC to allow startup on IP6-only systems.
PR: 50592
Submitted by: Joe Orton, 2510 <root linkage white-void net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1146256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/config.c b/server/config.c index 8f78f1f4ce..cf379d426a 100644 --- a/server/config.c +++ b/server/config.c @@ -2255,7 +2255,7 @@ static server_rec *init_server_config(process_rec *process, apr_pool_t *p) /* NOT virtual host; don't match any real network interface */ rv = apr_sockaddr_info_get(&s->addrs->host_addr, - NULL, APR_INET, 0, 0, p); + NULL, APR_UNSPEC, 0, 0, p); if (rv != APR_SUCCESS) { /* should we test here for rv being an EAIERR? */ ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_CRIT, rv, NULL, |