platform_bionic/libc/netbsd
Robert Greenwalt a31ddef36d Change how DNS resolver handle no default iface
We used to just try any iface we'd been told about as a
fallback, but that will end up mistakenly using a secondary
network's dns when we really don't have a default connection.

It also messed up our detection of whether we were doing the
lookup on the default or not (we'd get back our secondary net
iface as the default, do the compare and think we were on default).

Remove the lies and let dns fail if we don't have an iface for it.

bug:10132565
Change-Id: I5f0f2abacaaaaf23c5292b20fba9d8dcb6fb10c5
2013-08-22 21:05:49 -07:00
..
inet auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
nameser Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
net Change how DNS resolver handle no default iface 2013-08-22 21:05:49 -07:00
resolv Change how DNS resolver handle no default iface 2013-08-22 21:05:49 -07:00
gethnamaddr.c Merge "gethostbyname: fix crash" 2013-02-22 19:32:37 +00:00