Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0f0eb03 authored by Bernie Innocenti's avatar Bernie Innocenti Committed by Automerger Merge Worker
Browse files

Remove superfluous check for mDNS .local lookups am: 088cdcf4 am: c69623cd

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1783627

Change-Id: I82010c9f2c19fccc7a9930f7f4a92d3dadc9dddd
parents 2ff1d930 c69623cd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -514,8 +514,7 @@ int res_nsend(ResState* statp, const uint8_t* buf, int buflen, uint8_t* ans, int
        std::this_thread::sleep_for(sleepTimeMs);
    }
    // Private DNS
    if (!(statp->netcontext_flags & NET_CONTEXT_FLAG_USE_LOCAL_NAMESERVERS) &&
        !isMdnsResolution(statp->flags)) {
    if (!(statp->netcontext_flags & NET_CONTEXT_FLAG_USE_LOCAL_NAMESERVERS)) {
        bool fallback = false;
        int resplen = res_private_dns_send(statp, Slice(const_cast<uint8_t*>(buf), buflen),
                                           Slice(ans, anssiz), rcode, &fallback);