]> git.saurik.com Git - apple/mdnsresponder.git/blobdiff - Clients/dns-sd.c
mDNSResponder-320.14.tar.gz
[apple/mdnsresponder.git] / Clients / dns-sd.c
index c73c22160e3caa05ef69513036391cf65939b67c..bf6cc1039057a7ba6a8f3e17f62a3b8971158e3a 100644 (file)
@@ -170,11 +170,7 @@ cl dns-sd.c -I../mDNSShared -DNOT_HAVE_GETOPT ws2_32.lib ..\mDNSWindows\DLL\Rele
        #include <arpa/inet.h>          // For inet_addr()
        #include <net/if.h>                     // For if_nametoindex()
        static const char kFilePathSep = '/';
-// #ifndef NOT_HAVE_SA_LEN
-//     #define SA_LEN(addr) ((addr)->sa_len)
-// #else
-    #define SA_LEN(addr) (((addr)->sa_family == AF_INET6)? sizeof(struct sockaddr_in6) : sizeof(struct sockaddr_in))
-// #endif
+       #define SA_LEN(addr) ((addr)->sa_len)
 #endif
 
 #if (TEST_NEW_CLIENTSTUB && !defined(__APPLE_API_PRIVATE))