Changeset fc605b3 in rtems-libbsd


Ignore:
Timestamp:
Sep 19, 2018, 6:54:13 AM (13 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
7d33d36
Parents:
f01edf1
git-author:
Sebastian Huber <sebastian.huber@…> (09/19/18 06:54:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/20/18 09:23:32)
Message:

mDNSResponder: Update to v765.20.4

The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-765.20.4.tar.gz

Update #3522.

Location:
mDNSResponder
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • mDNSResponder/Makefile

    rf01edf1 rfc605b3  
    1717include $(MAKEFILEPATH)/pb_makefiles/platform.make
    1818
    19 MVERS = "mDNSResponder-765.1.2"
     19MVERS = "mDNSResponder-765.20.4"
    2020
    2121DDNSWRITECONFIG = "$(DSTROOT)/Library/Application Support/Bonjour/ddnswriteconfig"
  • mDNSResponder/mDNSMacOSX/mDNSMacOSX.c

    rf01edf1 rfc605b3  
    77577757}
    77587758
    7759 #if !TARGET_OS_EMBEDDED
    77607759mDNSlocal mDNSs32 GetSystemSleepTimerSetting(void)
    77617760{
     
    78077806        for (intf = GetFirstActiveInterface(m->HostInterfaces); intf; intf = GetFirstActiveInterface(intf->next))
    78087807        {
     7808            if (intf->InterfaceID == AWDLInterfaceID) continue;
    78097809            bssid = GetBSSID(intf->ifname);
    78107810            if (!mDNSSameEthAddress(&bssid, &zeroEthAddr))
     
    78207820    mDNSCoreBeSleepProxyServer(m, sps, SPMetricPortability, SPMetricMarginalPower, SPMetricTotalPower, SPMetricFeatures);
    78217821}
    7822 #endif // !TARGET_OS_EMBEDDED
    78237822
    78247823// The definitions below should eventually come from some externally-supplied header file.
     
    81218120    mDNSu8  ret = (mDNSu8)mDNS_NoWake;
    81228121
     8122#if TARGET_OS_IOS
     8123    LogSPS("SystemWakeForNetworkAccess: Sleep Proxy Client disabled by command-line option");
     8124    return ret;
     8125#endif
     8126
    81238127    if (DisableSleepProxyClient)
    81248128    {
    81258129       LogSPS("SystemWakeForNetworkAccess: Sleep Proxy Client disabled by command-line option");
    8126        return mDNSfalse;
     8130       return ret;
    81278131    }
    81288132
     
    85468550    SetupActiveInterfaces(m, utc);
    85478551
    8548 #if APPLE_OSX_mDNSResponder && !TARGET_OS_EMBEDDED
    8549 
     8552#if APPLE_OSX_mDNSResponder
     8553#if !TARGET_OS_EMBEDDED
    85508554    mDNS_Lock(m);
    85518555    ProcessConndConfigChanges(m);
     
    85968600            }
    85978601        }
     8602#endif //!TARGET_OS_EMBEDDED
    85988603
    85998604    SetSPS(m);
     
    94929497    }
    94939498
    9494     if ((messageType == kIOMessageSystemWillSleep) || (messageType== kIOMessageCanSystemSleep))
    9495     {
     9499    if (messageType == kIOMessageSystemWillSleep)
    94969500        m->p->SleepCookie = (long)messageArgument;
     9501    else if (messageType == kIOMessageCanSystemSleep)
    94979502        IOAllowPowerChange(m->p->PowerConnection, (long)messageArgument);
    9498     }
    94999503
    95009504    KQueueUnlock(m, "PowerChanged Sleep/Wake");
  • mDNSResponder/mDNSShared/dns_sd.h

    rf01edf1 rfc605b3  
    6767
    6868#ifndef _DNS_SD_H
    69 #define _DNS_SD_H 7650102
     69#define _DNS_SD_H 7652004
    7070
    7171#ifdef  __cplusplus
  • mDNSResponder/mDNSShared/dnssd_clientstub.c

    rf01edf1 rfc605b3  
    18911891        flags |= kDNSServiceFlagsIncludeP2P;
    18921892
    1893     if (!sdRef || !RecordRef || !fullname || !rdata || !callBack)
     1893    if (!sdRef || !RecordRef || !fullname || (!rdata && rdlen) || !callBack)
    18941894    {
    18951895        syslog(LOG_WARNING, "dnssd_clientstub DNSServiceRegisterRecord called with NULL parameter");
     
    19761976    DNSRecord **p;
    19771977
    1978     if (!sdRef || !RecordRef || !rdata)
     1978    if (!sdRef || !RecordRef || (!rdata && rdlen))
    19791979    {
    19801980        syslog(LOG_WARNING, "dnssd_clientstub DNSServiceAddRecord called with NULL parameter");
     
    20402040    char *ptr;
    20412041
    2042     if (!sdRef || !rdata)
     2042    if (!sdRef || (!rdata && rdlen))
    20432043    {
    20442044        syslog(LOG_WARNING, "dnssd_clientstub DNSServiceUpdateRecord called with NULL parameter");
     
    21262126    DNSServiceOp *tmp;
    21272127
    2128     if (!fullname || !rdata) return kDNSServiceErr_BadParam;
     2128    if (!fullname || (!rdata && rdlen)) return kDNSServiceErr_BadParam;
    21292129
    21302130    err = ConnectToServer(&tmp, flags, reconfirm_record_request, NULL, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.