]> git.saurik.com Git - apple/libinfo.git/commitdiff
Libinfo-503.30.1.tar.gz macos-10122 macos-10123 v503.30.1
authorApple <opensource@apple.com>
Wed, 3 Aug 2016 22:11:12 +0000 (22:11 +0000)
committerApple <opensource@apple.com>
Wed, 3 Aug 2016 22:11:12 +0000 (22:11 +0000)
.gitignore [new file with mode: 0644]
lookup.subproj/si_getaddrinfo.c

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..009fb98
--- /dev/null
@@ -0,0 +1,8 @@
+.DS_Store
+*.xcodeproj/project.xcworkspace
+*.xcodeproj/xcuserdata
+.svn
+build
+*~.m
+*~.c
+*~.h
index c0176b5dc1302d9c684cb1080d7c675658bec848..27ab2c81feb2b471e84ce04a2f08e8623e56e1df 100644 (file)
@@ -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);