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

index e1347027f0e29658a61310329095a534ffa2975b..4288aaba9e1a342d06910f207b886c207288cf8b 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,
-                           "\"set_realip_from\" supports IPv4 only");
+                           "\"set_real_ip_from\" supports IPv4 only");
         return NGX_CONF_ERROR;
     }