Mercurial > hg > nginx
diff src/http/ngx_http.c @ 3824:4ee02b872591
test wildcard tail hash existance for IPv6 addresses,
the same fix for IPv4 addresses has been made in r2581
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 12 Dec 2010 21:10:59 +0000 |
parents | b1add8bfad83 |
children | 3770119af0b5 |
line wrap: on
line diff
--- a/src/http/ngx_http.c Sun Dec 12 20:11:31 2010 +0000 +++ b/src/http/ngx_http.c Sun Dec 12 21:10:59 2010 +0000 @@ -1870,8 +1870,8 @@ 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; }