diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-06-21 11:02:22 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-06-21 11:02:22 +0000 |
commit | 42444811b9281b1946a7a6f6d2f0b3ab2a98c269 (patch) | |
tree | 512552aca6ad9646f9aa9537e595aa55e2c75ac2 /src/http/ngx_http_request.h | |
parent | 992a4d11daadaa440ea4bc879c53aadef5721c63 (diff) | |
download | nginx-42444811b9281b1946a7a6f6d2f0b3ab2a98c269.tar.gz nginx-42444811b9281b1946a7a6f6d2f0b3ab2a98c269.zip |
Fixed compile-time conditionals used to detect if X-Forwarded-For support
is needed.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 70ca6097e..ec946c5a6 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -192,7 +192,7 @@ typedef struct { ngx_table_elt_t *keep_alive; -#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO) +#if (NGX_HTTP_X_FORWARDED_FOR) ngx_table_elt_t *x_forwarded_for; #endif |