Skip to content
Snippets Groups Projects
Verified Commit 65aeda1f authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Use AF_INET6 instead of PF_INET6 in test

parent a88ec091
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ int main(void) {
printf(
"IPv%d address: %s (%s)\n",
res->ai_family == PF_INET6 ? 6 : 4,
res->ai_family == AF_INET6 ? 6 : 4,
addrstr,
res->ai_canonname
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment