mirror of
https://github.com/nginx/nginx.git
synced 2026-08-18 17:14:44 -05:00
test wildcard tail hash existance for IPv6 addresses,
the same fix for IPv4 addresses has been made in r2581
This commit is contained in:
+2
-2
@@ -1870,8 +1870,8 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport,
|
|||||||
if (addr[i].hash.buckets == NULL
|
if (addr[i].hash.buckets == NULL
|
||||||
&& (addr[i].wc_head == NULL
|
&& (addr[i].wc_head == NULL
|
||||||
|| addr[i].wc_head->hash.buckets == NULL)
|
|| addr[i].wc_head->hash.buckets == NULL)
|
||||||
&& (addr[i].wc_head == NULL
|
&& (addr[i].wc_tail == NULL
|
||||||
|| addr[i].wc_head->hash.buckets == NULL))
|
|| addr[i].wc_tail->hash.buckets == NULL))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user