diff options
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 9712d44b..77d830be 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -240,6 +240,8 @@ nxt_router_socket_conf(nxt_task_t *task, nxt_mp_t *mp, nxt_sockaddr_t *sa) } conf->listen.sockaddr = sa; + conf->listen.socklen = sa->socklen; + conf->listen.address_length = sa->length; conf->listen.socket = -1; conf->listen.backlog = NXT_LISTEN_BACKLOG; |