bionic/libc/netbsd
Robert Greenwalt d67662b9d6 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

Conflicts:
	libc/netbsd/resolv/res_cache.c

Change-Id: I357a9c34dad83215f44c5e0dd41ce2a7d6fe8f3f
2013-08-23 11:48:26 -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-23 11:48:26 -07:00
resolv Change how DNS resolver handle no default iface 2013-08-23 11:48:26 -07:00
gethnamaddr.c Add marking of DNS sockets for mark based routing 2013-07-09 13:16:22 -07:00