mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
There's no need to normalize address returned by ngx_ptocidr().
This commit is contained in:
parent
717acb74a7
commit
a0caa70c98
@ -998,7 +998,7 @@ ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
|
||||
/* rc == NGX_BUSY */
|
||||
|
||||
old = (ngx_http_variable_value_t *)
|
||||
ngx_radix32tree_find(ctx->tree, cidr.u.in.addr & cidr.u.in.mask);
|
||||
ngx_radix32tree_find(ctx->tree, cidr.u.in.addr);
|
||||
|
||||
ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
|
||||
"duplicate network \"%V\", value: \"%v\", old value: \"%v\"",
|
||||
|
Loading…
Reference in New Issue
Block a user