From: Mikio Hara Date: Tue, 24 Jul 2012 12:57:18 +0000 (+0900) Subject: net: fix comment X-Git-Tag: go1.1rc2~2782 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c1f2ec384fe9874cb506bfb1bc9083efe276bf70;p=gostls13.git net: fix comment RemoteAddr returns not only UDPAddr but IPAddr. R=golang-dev, dave CC=golang-dev https://golang.org/cl/6401054 --- diff --git a/src/pkg/net/net_posix.go b/src/pkg/net/net_posix.go index 8e126c14d7..3bcc54fe53 100644 --- a/src/pkg/net/net_posix.go +++ b/src/pkg/net/net_posix.go @@ -46,7 +46,7 @@ func (c *conn) LocalAddr() Addr { return c.fd.laddr } -// RemoteAddr returns the remote network address, a *UDPAddr. +// RemoteAddr returns the remote network address. func (c *conn) RemoteAddr() Addr { if !c.ok() { return nil