diff options
author | Russ Cox <rsc@golang.org> | 2009-11-10 17:09:33 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-10 17:09:33 -0800 |
commit | ac623a2f5cc99d733d26200901d97f60d4200ac9 (patch) | |
tree | 3253b07137d097cb0c7b66c13a83cac97f6867fd /src/pkg/net/dialgoogle_test.go | |
parent | 58451d1264779ad1585f0d4d2c3abe30f91136e4 (diff) | |
download | golang-ac623a2f5cc99d733d26200901d97f60d4200ac9.tar.gz |
net: fix dns bug reported on irc.
if suffixes don't work, check for name directly.
also fixes short names like bit.ly when ndots>1.
tested by tossing domain and search lines from /etc/resolv.conf
Fixes issue 2.
R=agl, agl1
CC=golang-dev
http://codereview.appspot.com/152048
Diffstat (limited to 'src/pkg/net/dialgoogle_test.go')
0 files changed, 0 insertions, 0 deletions