]> Cypherpunks repositories - gostls13.git/commit
net: lookup protocol in lower-case on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Mon, 16 Dec 2013 20:00:23 +0000 (12:00 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 16 Dec 2013 20:00:23 +0000 (12:00 -0800)
commit20dee338c322bb3beb805f837ab780f98cfe8d59
tree8aabc6b4e695637dc501af577aba96d1307480d5
parent4e23b693145790382bd8ed3f3e6634a5c527a9f6
net: lookup protocol in lower-case on Plan 9

Protocol keywords are case-insensitive,
but the Ndb database is case-sensitive.

Also use the generic net protocol instead
of tcp in lookupHost.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/40600047
src/pkg/net/lookup_plan9.go