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

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

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

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

Change-Id: I217a7d45ae44da3db3477bbea5aea12fc93bfff5
parents c8017d11 088cdcf4
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);