mDNSResponder: Fix for update to v765.1.2

In the update to v765.1.2 the mDNS_Init() changed the initialization of
m->AutoTargetServices from 1 to 0.  The motivation for this change is
unclear.  This change prevents at least the mDNS hostname lookups.
Revert this change and initialize m->AutoTargetServices to 1 like it was
before the update.
This commit is contained in:
Sebastian Huber 2018-10-16 12:54:08 +02:00
parent 91b858d2de
commit c464b9e404

View File

@ -14475,7 +14475,11 @@ mDNSlocal mStatus mDNS_InitStorage(mDNS *const m, mDNS_PlatformSupport *const p,
m->WABBrowseQueriesCount = 0;
m->WABLBrowseQueriesCount = 0;
m->WABRegQueriesCount = 0;
#ifndef __rtems__
m->AutoTargetServices = 0;
#else /* __rtems__ */
m->AutoTargetServices = 1;
#endif /* __rtems__ */
#if BONJOUR_ON_DEMAND
m->NumAllInterfaceRecords = 0;