Commit 1b2b93e0 authored by Yang Tse's avatar Yang Tse
Browse files

fix getinfo CURLINFO_LOCAL* for reused connections follow-up

Reinstate IPV6 build variable that got removed.
parent c328214a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -812,6 +812,9 @@ singleipconnect(struct connectdata *conn,
  struct SessionHandle *data = conn->data;
  curl_socket_t sockfd;
  CURLcode res = CURLE_OK;
#ifdef ENABLE_IPV6
  struct sockaddr_in6 * const sa6 = (void *)&addr.sa_addr;
#endif

  *sockp = CURL_SOCKET_BAD;