summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index f02bf3f2..6430aea4 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -5249,8 +5249,8 @@ nxt_router_prepare_msg(nxt_task_t *task, nxt_http_request_t *r,
r->remote->address_length);
*p++ = '\0';
- req->local_length = r->local->address_length;
- nxt_unit_sptr_set(&req->local, p);
+ req->local_addr_length = r->local->address_length;
+ nxt_unit_sptr_set(&req->local_addr, p);
p = nxt_cpymem(p, nxt_sockaddr_address(r->local), r->local->address_length);
*p++ = '\0';