# HG changeset patch # User Igor Sysoev # Date 1257255922 0 # Node ID 0ec36375f52cc90ad7fa2a29991d9f5f78e39b4f # Parent ab9f5a715805fb05aa768ddc0b891ed44b659084 fix directive name in error message: "realip_from" to "set_realip_from" diff --git a/src/http/modules/ngx_http_realip_module.c b/src/http/modules/ngx_http_realip_module.c --- 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; }