mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
Fixed "setfib=" on non-first listening socket.
This commit is contained in:
parent
71b9cca835
commit
a8a7de3f78
@ -4015,6 +4015,8 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
#if (NGX_HAVE_SETFIB)
|
||||
if (ngx_strncmp(value[n].data, "setfib=", 7) == 0) {
|
||||
lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7);
|
||||
lsopt.set = 1;
|
||||
lsopt.bind = 1;
|
||||
|
||||
if (lsopt.setfib == NGX_ERROR) {
|
||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user