allow setfib=0
This commit is contained in:
parent
3e8bd94065
commit
f19e0aab2a
1 changed files with 1 additions and 1 deletions
|
@ -3440,7 +3440,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue