Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSCore instead of shor...
details: https://anonhg.NetBSD.org/src/rev/bbc9d44c8f0b
branches: trunk
changeset: 361068:bbc9d44c8f0b
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 11 18:33:21 2018 +0000
description:
instead of short-circuiting the test, set auto target host on by default.
diffstat:
external/apache2/mDNSResponder/dist/mDNSCore/mDNS.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 3a8cda4ec007 -r bbc9d44c8f0b external/apache2/mDNSResponder/dist/mDNSCore/mDNS.c
--- a/external/apache2/mDNSResponder/dist/mDNSCore/mDNS.c Wed Apr 11 15:25:58 2018 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSCore/mDNS.c Wed Apr 11 18:33:21 2018 +0000
@@ -12577,13 +12577,11 @@
NetworkInterfaceInfo *primary;
mDNSu8 recordType;
-#if 0
if (m->AutoTargetServices == 0)
{
LogInfo("AdvertiseInterface: Returning due to AutoTargetServices zero for %s", set->ifname);
return;
}
-#endif
primary = FindFirstAdvertisedInterface(m);
if (!primary) primary = set; // If no existing advertised interface, this new NetworkInterfaceInfo becomes our new primary
@@ -14479,7 +14477,7 @@
m->WABBrowseQueriesCount = 0;
m->WABLBrowseQueriesCount = 0;
m->WABRegQueriesCount = 0;
- m->AutoTargetServices = 0;
+ m->AutoTargetServices = 1;
#if BONJOUR_ON_DEMAND
m->NumAllInterfaceRecords = 0;
Home |
Main Index |
Thread Index |
Old Index