Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[TT #2101] Attempt to fix ipv6 detection on Gentoo, tadzik++

  • Loading branch information...
commit 2888490650075683f8eee8f42f4f2c895830cdf1 1 parent 3456694
@leto leto authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 config/auto/ipv6/test.in
View
5 config/auto/ipv6/test.in
@@ -1,6 +1,6 @@
/*
-Copyright (C) 2010, Parrot Foundation.
+Copyright (C) 2010-2011, Parrot Foundation.
*/
@@ -33,7 +33,8 @@ int main(int argc, char *argv[]) {
getaddrinfo(NULL, "1234", &hints, &ai);
- printf("OK\n");
+ if (socket(AF_INET6, SOCK_STREAM, 0) > 0)
+ printf("OK\n");
return EXIT_SUCCESS;
}
Please sign in to comment.
Something went wrong with that request. Please try again.