# HG changeset patch # User Igor Sysoev # Date 1279016229 0 # Node ID 3fef0312aec89a2feba36fc976e4fc8e82078a9b # Parent 47c1a9bff989048dd51c1b216fcf7207489b90d0 allow setfib=0 diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -3440,7 +3440,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx if (ngx_strncmp(value[n].data, "setfib=", 7) == 0) { lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7); - if (lsopt.setfib == NGX_ERROR || lsopt.setfib == 0) { + if (lsopt.setfib == NGX_ERROR) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid setfib \"%V\"", &value[n]); return NGX_CONF_ERROR;