Commit f3ad899a authored by Mikio Hara's avatar Mikio Hara Committed by Andrew Gerrand

net: fix typo

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4315049
parent 94e60061
...@@ -59,7 +59,7 @@ func readHosts() { ...@@ -59,7 +59,7 @@ func readHosts() {
} }
} }
// lookupStaticHosts looks up the addresses for the given host from /etc/hosts. // lookupStaticHost looks up the addresses for the given host from /etc/hosts.
func lookupStaticHost(host string) []string { func lookupStaticHost(host string) []string {
hosts.Lock() hosts.Lock()
defer hosts.Unlock() defer hosts.Unlock()
...@@ -72,7 +72,7 @@ func lookupStaticHost(host string) []string { ...@@ -72,7 +72,7 @@ func lookupStaticHost(host string) []string {
return nil return nil
} }
// rlookupStaticHosts looks up the hosts for the given address from /etc/hosts. // lookupStaticAddr looks up the hosts for the given address from /etc/hosts.
func lookupStaticAddr(addr string) []string { func lookupStaticAddr(addr string) []string {
hosts.Lock() hosts.Lock()
defer hosts.Unlock() defer hosts.Unlock()
......
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