Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4980 - trunk/src/http/modules

Anonymous User
December 21, 2012 03:46AM
Author: ru
Date: 2012-12-21 08:44:39 +0000 (Fri, 21 Dec 2012)
New Revision: 4980
URL: http://trac.nginx.org/nginx/changeset/4980/nginx

Log:
There's no need to normalize address returned by ngx_ptocidr().


Modified:
trunk/src/http/modules/ngx_http_geo_module.c

Modified: trunk/src/http/modules/ngx_http_geo_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_geo_module.c 2012-12-20 19:04:28 UTC (rev 4979)
+++ trunk/src/http/modules/ngx_http_geo_module.c 2012-12-21 08:44:39 UTC (rev 4980)
@@ -998,7 +998,7 @@
/* 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\"",

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4980 - trunk/src/http/modules

Anonymous User 867 December 21, 2012 03:46AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 208
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready