Commit f40e574d authored by Rui Ueyama's avatar Rui Ueyama Committed by Brad Fitzpatrick

net: fix confusing typo in comment

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/93750043
parent 59d7aa32
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment