summaryrefslogtreecommitdiff
path: root/src/pkg/net/port.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/port.go')
-rw-r--r--src/pkg/net/port.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/net/port.go b/src/pkg/net/port.go
index 7d25058b2..8f8327a37 100644
--- a/src/pkg/net/port.go
+++ b/src/pkg/net/port.go
@@ -50,8 +50,8 @@ func readServices() {
file.close()
}
-// LookupPort looks up the port for the given network and service.
-func LookupPort(network, service string) (port int, err os.Error) {
+// goLookupPort is the native Go implementation of LookupPort.
+func goLookupPort(network, service string) (port int, err os.Error) {
onceReadServices.Do(readServices)
switch network {