Mercurial > hg > nginx
diff src/http/modules/ngx_http_realip_module.c @ 3279:0ec36375f52c
fix directive name in error message: "realip_from" to "set_realip_from"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Nov 2009 13:45:22 +0000 |
parents | 95b0b0d7843f |
children | 9285e936c79d |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_realip_module.c +++ b/src/http/modules/ngx_http_realip_module.c @@ -347,7 +347,7 @@ ngx_http_realip_from(ngx_conf_t *cf, ngx if (cidr.family != AF_INET) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "\"realip_from\" supports IPv4 only"); + "\"set_realip_from\" supports IPv4 only"); return NGX_CONF_ERROR; }