diff options
Diffstat (limited to 'src/network/getaddrinfo.c')
-rw-r--r-- | src/network/getaddrinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/getaddrinfo.c b/src/network/getaddrinfo.c index 70b6cfda..d9913445 100644 --- a/src/network/getaddrinfo.c +++ b/src/network/getaddrinfo.c @@ -105,6 +105,7 @@ int getaddrinfo(const char *restrict host, const char *restrict serv, const stru case AF_INET6: out[k].sa.sin6.sin6_family = AF_INET6; out[k].sa.sin6.sin6_port = htons(ports[j].port); + out[k].sa.sin6.sin6_scope_id = addrs[i].scopeid; memcpy(&out[k].sa.sin6.sin6_addr, &addrs[i].addr, 16); break; } |