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

Commit 880a6b3d authored by Mike Yu's avatar Mike Yu Committed by Automerger Merge Worker
Browse files

Merge "Exclude the latency in DnsStats if it is relevant to EPERM" am: 0a61733e am: 73edc54f

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

Change-Id: Id8526c02a554efa444b46b0a59d02b963c3cdfbd
parents 160e0334 73edc54f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -595,9 +595,9 @@ int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int
                    // TODO: Replace usable_servers of legacy stats with new one.
                    resolv_cache_add_resolver_stats_sample(
                            statp->netid, revision_id, serverSockAddr, sample, params.max_samples);
                }
                    resolv_stats_add(statp->netid, receivedServerAddr, dnsQueryEvent);
                }
            }

            if (resplen == 0) continue;
            if (fallbackTCP) {