aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-28 14:31:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-28 14:31:25 +0000
commite5472bbd2177b1f95917199284d311a633eda35c (patch)
treea9a094c12a24c5238aabb31cf0d7d0fb70487897 /tests
parent957c258c6d8abb584169fdadb1a1e0a20dd409c7 (diff)
AF_INET6 for ipv6 addresses!
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sockfilt.c2
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));
}