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

Commit 1c30fe63 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: I72a2672b685c595d60aa7a8aff7d01bd989e1c51
parents 4e7b27a9 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) {