Mercurial > hg > nginx
comparison src/http/modules/ngx_http_realip_module.c @ 7077:2a288909abc6
Variables: macros for null variables.
No functional changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 01 Aug 2017 14:28:33 +0300 |
parents | df1a62c83b1b |
children | 06b01840bd42 |
comparison
equal
deleted
inserted
replaced
7076:1b82e86dd3e7 | 7077:2a288909abc6 |
---|---|
120 ngx_http_realip_remote_addr_variable, 0, 0, 0 }, | 120 ngx_http_realip_remote_addr_variable, 0, 0, 0 }, |
121 | 121 |
122 { ngx_string("realip_remote_port"), NULL, | 122 { ngx_string("realip_remote_port"), NULL, |
123 ngx_http_realip_remote_port_variable, 0, 0, 0 }, | 123 ngx_http_realip_remote_port_variable, 0, 0, 0 }, |
124 | 124 |
125 { ngx_null_string, NULL, NULL, 0, 0, 0 } | 125 ngx_http_null_variable |
126 }; | 126 }; |
127 | 127 |
128 | 128 |
129 static ngx_int_t | 129 static ngx_int_t |
130 ngx_http_realip_handler(ngx_http_request_t *r) | 130 ngx_http_realip_handler(ngx_http_request_t *r) |