mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +03:00
changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define.
This commit is contained in:
parent
104377d718
commit
1cc50d31f9
12 changed files with 16 additions and 14 deletions
|
|
@ -769,7 +769,7 @@ singleipconnect(struct connectdata *conn,
|
|||
/* no socket, no connection */
|
||||
return CURL_SOCKET_BAD;
|
||||
|
||||
#ifdef ENABLE_IPV6
|
||||
#if defined(ENABLE_IPV6) && defined(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID)
|
||||
if (conn->scope && (addr.family == AF_INET6))
|
||||
sa6->sin6_scope_id = conn->scope;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue