mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
log both overrlaped ranges
This commit is contained in:
parent
f8fdbcaaa2
commit
287c22f788
@ -624,8 +624,14 @@ ngx_http_geo_add_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
|
||||
goto next;
|
||||
}
|
||||
|
||||
s = (ngx_uint_t) range[i].start;
|
||||
e = (ngx_uint_t) range[i].end;
|
||||
|
||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||
"overlapped range \"%V\"", ctx->net);
|
||||
"range \"%V\" overlaps \"%d.%d.%d.%d-%d.%d.%d.%d\"",
|
||||
ctx->net,
|
||||
h >> 8, h & 0xff, s >> 8, s & 0xff,
|
||||
h >> 8, h & 0xff, e >> 8, e & 0xff);
|
||||
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user