From: Apple Date: Wed, 3 Aug 2016 22:11:12 +0000 (+0000) Subject: Libinfo-503.30.1.tar.gz X-Git-Tag: macos-10122^0 X-Git-Url: https://git.saurik.com/apple/libinfo.git/commitdiff_plain/0264f677de38d055c47762adab7d63b503f04778 Libinfo-503.30.1.tar.gz --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..009fb98 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +*.xcodeproj/project.xcworkspace +*.xcodeproj/xcuserdata +.svn +build +*~.m +*~.c +*~.h diff --git a/lookup.subproj/si_getaddrinfo.c b/lookup.subproj/si_getaddrinfo.c index c0176b5..27ab2c8 100644 --- a/lookup.subproj/si_getaddrinfo.c +++ b/lookup.subproj/si_getaddrinfo.c @@ -1117,7 +1117,7 @@ _gai_nat64_synthesis(si_mod_t *si, const char *node, const void *servptr, int nu { continue; } - si_list_t *temp_list = si_addrinfo_list(si, flags, socktype, proto, NULL, &a6, port, (int)ifindex, NULL, NULL); + si_list_t *temp_list = si_addrinfo_list(si, flags, socktype, proto, NULL, &a6, port, 0, NULL, NULL); if (NULL == temp_list) { continue; @@ -1145,7 +1145,7 @@ _gai_nat64_synthesis(si_mod_t *si, const char *node, const void *servptr, int nu if (((AF_UNSPEC == family) && ((flags & AI_ADDRCONFIG) == 0)) || ((AF_INET6 == family) && ((flags & AI_ALL) != 0) && ((flags & AI_V4MAPPED) != 0))) { - si_list_t *list4 = si_addrinfo_list(si, flags, socktype, proto, &a4, NULL, port, (int)ifindex, NULL, NULL); + si_list_t *list4 = si_addrinfo_list(si, flags, socktype, proto, &a4, NULL, port, 0, NULL, NULL); if (NULL != list4) { out_list = si_list_concat(out_list, list4);