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

Commit ffd82999 authored by Stefano Duo's avatar Stefano Duo
Browse files

Correctly support AI_ADDRCONFIG for mDNS queries via getaddrinfo

Current code assumes that having a default gateway is a required to send
out AAAA queries. This is true when using conventional unicast DNS
server, but not when using mDNS. In an mDNS scenario, we can have an
interface with a link-local IPv6 address assigned, but no default
gateway (e.g., IPv6 over Bluetooth). So, under these circumstances, we
are not sending out an AAAA query, even though we could have local IPv6
connectivity.

Bug: b:374756136
Change-Id: I2a4c945cac7b25a6828d232615ace14b61b75304
parent 88584581
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