From 0264f677de38d055c47762adab7d63b503f04778 Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 3 Aug 2016 22:11:12 +0000 Subject: [PATCH] Libinfo-503.30.1.tar.gz --- .gitignore | 8 ++++++++ lookup.subproj/si_getaddrinfo.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .gitignore 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); -- 2.7.4