commit | ba96e30fa08212e48ec1ff9c1d545b2d05e787b0 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Jan 14 12:26:05 2011 -0800 |
committer | Lorenzo Colitti <lorenzo@google.com> | Sat Jan 15 19:02:58 2011 -0800 |
tree | 51f64cc87bf9e2950bd7fc287f0bdf0dc8d4c92b | |
parent | 7bbd4580afe0347892a0680b5917ec7df38c003a [diff] |
Only look up A records if the system has IPv4. getaddrinfo only asks DNS for IPv6 addresses if the system has IPv6 connectivity, but always asks for IPv4 addresses. Don't ask for IPv4 addresses if there is no IPv4 connectivity. Change-Id: Iefe9fcb006fabe60b4b11dd4653a7c4a406506f4