comparison src/http/modules/ngx_http_realip_module.c @ 3280:9285e936c79d

fix directive name in error message: "set_realip_from" to "set_real_ip_from"
author Igor Sysoev <igor@sysoev.ru>
date Tue, 03 Nov 2009 14:41:56 +0000
parents 0ec36375f52c
children 78faaf5cea44
comparison
equal deleted inserted replaced
3279:0ec36375f52c 3280:9285e936c79d
345 return NGX_CONF_ERROR; 345 return NGX_CONF_ERROR;
346 } 346 }
347 347
348 if (cidr.family != AF_INET) { 348 if (cidr.family != AF_INET) {
349 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 349 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
350 "\"set_realip_from\" supports IPv4 only"); 350 "\"set_real_ip_from\" supports IPv4 only");
351 return NGX_CONF_ERROR; 351 return NGX_CONF_ERROR;
352 } 352 }
353 353
354 if (rc == NGX_DONE) { 354 if (rc == NGX_DONE) {
355 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, 355 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,