From f40e574d85cd9bc492f62e7cbee8924a8a5e584e Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 24 Apr 2014 12:24:22 -0700 Subject: [PATCH] net: fix confusing typo in comment LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93750043 --- src/pkg/net/port_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/port_unix.go b/src/pkg/net/port_unix.go index 5b803e6100..89558c1f02 100644 --- a/src/pkg/net/port_unix.go +++ b/src/pkg/net/port_unix.go @@ -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 -- 2.50.0