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

Skip to content
Commit fb6d5c50 authored by Milim Lee's avatar Milim Lee Committed by Ken Chen
Browse files

Don't query AAAA in case DUT has only link local address.

Some Wifi APs may send empty RA which cause device has link-local IPv6
address with default route. In that case, DNS resolver will send AAAA
queries over IPv4, which is a waste of effort. This commit prevents the
DNS resolver from sending AAAA queries when the device's IPv6 address is
link-local. The mdns (aka .local) resolution is not limited to this.

Bug: 203748535
Bug: 238583316
Test: build and test
Change-Id: Id63b144a0fabc86caf529c83d4d0b21f9f1e4bf8
parent 4eb78901
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment