# HG changeset patch # User Igor Sysoev # Date 1292188259 0 # Node ID 4ee02b8725917f394e418a9254c3d177a2373e84 # Parent b1add8bfad831e27f5281d2da06733bb65643131 test wildcard tail hash existance for IPv6 addresses, the same fix for IPv4 addresses has been made in r2581 diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1870,8 +1870,8 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_ if (addr[i].hash.buckets == NULL && (addr[i].wc_head == NULL || addr[i].wc_head->hash.buckets == NULL) - && (addr[i].wc_head == NULL - || addr[i].wc_head->hash.buckets == NULL)) + && (addr[i].wc_tail == NULL + || addr[i].wc_tail->hash.buckets == NULL)) { continue; }