diff options
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sockfilt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index a174f902e..cf6cc499f 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -582,7 +582,7 @@ int main(int argc, char *argv[]) memset(&me6, 0, sizeof(me6)); me6.sin6_family = AF_INET6; me6.sin6_port = htons(connectport); - Curl_inet_pton(AF_INET, "::1", &me6.sin6_addr); + Curl_inet_pton(AF_INET6, "::1", &me6.sin6_addr); rc = connect(sock, (struct sockaddr *) &me6, sizeof(me6)); } |