From 49ebc73e1db87793fe536480739cdd31587d554d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Sep 2018 11:12:30 +0200 Subject: mDNSResponder: Update to v576.30.4 The sources can be obtained via: https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-576.30.4.tar.gz Update #3522. --- mDNSResponder/mDNSPosix/mDNSPosix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mDNSResponder/mDNSPosix') diff --git a/mDNSResponder/mDNSPosix/mDNSPosix.c b/mDNSResponder/mDNSPosix/mDNSPosix.c index bdfb71f2..1ff9837d 100755 --- a/mDNSResponder/mDNSPosix/mDNSPosix.c +++ b/mDNSResponder/mDNSPosix/mDNSPosix.c @@ -915,6 +915,10 @@ mDNSlocal int SetupOneInterface(mDNS *const m, struct sockaddr *intfAddr, struct // If interface is a direct link, address record will be marked as kDNSRecordTypeKnownUnique // and skip the probe phase of the probe/announce packet sequence. intf->coreIntf.DirectLink = mDNSfalse; +#ifdef DIRECTLINK_INTERFACE_NAME + if (strcmp(intfName, STRINGIFY(DIRECTLINK_INTERFACE_NAME)) == 0) + intf->coreIntf.DirectLink = mDNStrue; +#endif // The interface is all ready to go, let's register it with the mDNS core. if (err == 0) -- cgit v1.2.3