net: fix confusing typo in comment

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/93750043
This commit is contained in:
Rui Ueyama 2014-04-24 12:24:22 -07:00 committed by Brad Fitzpatrick
parent 59d7aa32ca
commit f40e574d85
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func readServices() {
if len(f) < 2 {
continue
}
portnet := f[1] // "tcp/80"
portnet := f[1] // "80/tcp"
port, j, ok := dtoi(portnet, 0)
if !ok || port <= 0 || j >= len(portnet) || portnet[j] != '/' {
continue