Mercurial > hg > nginx
changeset 2451:b70e7f34d92b
fix single address range
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 16 Jan 2009 16:09:58 +0000 |
parents | 19b28be544fe |
children | 95f078e7d743 |
files | src/http/modules/ngx_http_geo_module.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c Fri Jan 16 16:02:30 2009 +0000 +++ b/src/http/modules/ngx_http_geo_module.c Fri Jan 16 16:09:58 2009 +0000 @@ -518,7 +518,7 @@ ngx_array_t *a; ngx_http_geo_range_t *range; - for (n = start; n < end; n += 0x10000) { + for (n = start; n <= end; n += 0x10000) { h = n >> 16; @@ -667,7 +667,7 @@ warn = 0; - for (n = start; n < end; n += 0x10000) { + for (n = start; n <= end; n += 0x10000) { h = n >> 16;