comparison 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
comparison
equal deleted inserted replaced
3278:ab9f5a715805 3279:0ec36375f52c
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 "\"realip_from\" supports IPv4 only"); 350 "\"set_realip_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,