From e46943965d62285f6283302cc062d944cd16bc32 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 9 Apr 2009 13:56:16 +0000 Subject: backout r2535: virtual names is a property of address:port pair, but is not a property of server configuration --- src/http/ngx_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/ngx_http.c') diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index ed766bcba..5cd0ee1f8 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1825,7 +1825,7 @@ ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport, return NGX_ERROR; } - addrs[i].conf.core_srv_conf->virtual_names = vn; + addrs[i].conf.virtual_names = vn; vn->names.hash = addr[i].hash; vn->names.wc_head = addr[i].wc_head; @@ -1882,7 +1882,7 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport, return NGX_ERROR; } - addrs6[i].conf.core_srv_conf->virtual_names = vn; + addrs6[i].conf.virtual_names = vn; vn->names.hash = addr[i].hash; vn->names.wc_head = addr[i].wc_head; -- cgit