summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-12-03 21:44:08 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-12-03 21:44:08 +0400
commita8a7de3f78390a19952a4a9bb253548895850e9e (patch)
tree2a722e9039d751995442d35ad5f77f6359410a9e /src
parent71b9cca8355bd0b21ff78f52b5724554e5a5b054 (diff)
downloadnginx-a8a7de3f78390a19952a4a9bb253548895850e9e.tar.gz
nginx-a8a7de3f78390a19952a4a9bb253548895850e9e.tar.bz2
Fixed "setfib=" on non-first listening socket.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index d2e29136d..4e5c78e9b 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -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,