mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-05 17:00:21 +08:00
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:
parent
91b858d2de
commit
c464b9e404
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user