bionic/libc/netbsd/net
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
..
base64.c Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
getaddrinfo.c Change how DNS resolver handle no default iface 2013-08-22 21:05:49 -07:00
getnameinfo.c resolved conflicts for merge of 62727429 to master 2013-02-13 13:51:54 -08:00
getservbyname.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getservbyport.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getservent.c Include <endian.h> instead of <sys/endian.h>, 2009-08-31 15:42:09 +08:00
nsdispatch.c Add some missing includes. 2011-03-21 20:01:03 -07:00
reentrant.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
servent.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
services.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00