]> git.kaiwu.me - nginx.git/commitdiff
fix "delete CIDR"
authorIgor Sysoev <igor@sysoev.ru>
Tue, 2 Dec 2008 15:02:36 +0000 (15:02 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 2 Dec 2008 15:02:36 +0000 (15:02 +0000)
src/http/modules/ngx_http_geo_module.c

index bba399f6c094e5901ba2fac14a18d7465aee3369..4c2b679e20603ea7b121d1fc7e575677c293096d 100644 (file)
@@ -666,8 +666,9 @@ ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
             {
                 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
                                    "no network \"%V\" to delete", net);
-                return NGX_CONF_OK;
             }
+
+            return NGX_CONF_OK;
         }
     }