]> git.kaiwu.me - nginx.git/commitdiff
fix directive name in error message: "realip_from" to "set_realip_from"
authorIgor Sysoev <igor@sysoev.ru>
Tue, 3 Nov 2009 13:45:22 +0000 (13:45 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 3 Nov 2009 13:45:22 +0000 (13:45 +0000)
src/http/modules/ngx_http_realip_module.c

index c962b516ee914ad4620d42a049226f52d684633e..e1347027f0e29658a61310329095a534ffa2975b 100644 (file)
@@ -347,7 +347,7 @@ ngx_http_realip_from(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 
     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;
     }