diff src/http/ngx_http_request.h @ 3242:f678ea405737 stable-0.7

merge r2993: geo module supports trusted proxies
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 16:42:19 +0000
parents 042124063e3d
children 67254117b774 ef8cfb09a50b
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -184,7 +184,7 @@ typedef struct {
 
     ngx_table_elt_t                  *keep_alive;
 
-#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP)
+#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO)
     ngx_table_elt_t                  *x_forwarded_for;
 #endif