diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-04-09 13:56:16 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-09 13:56:16 +0000 |
| commit | e46943965d62285f6283302cc062d944cd16bc32 (patch) | |
| tree | 01dd0074bcca1f8cb62089cabaaa2c156da4e421 /src/http/ngx_http.c | |
| parent | b37316d7dd7796677bb0f6e82b760b792b6ab19c (diff) | |
| download | nginx-e46943965d62285f6283302cc062d944cd16bc32.tar.gz nginx-e46943965d62285f6283302cc062d944cd16bc32.tar.bz2 | |
backout r2535: virtual names is a property of address:port pair,
but is not a property of server configuration
Diffstat (limited to 'src/http/ngx_http.c')
| -rw-r--r-- | src/http/ngx_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
