From: Mikio Hara Date: Thu, 27 Oct 2016 20:57:55 +0000 (+0900) Subject: net: use IPv4 reserved address blocks for documentation X-Git-Tag: go1.8beta1~472 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9575c580648d20ded1b538d6e05a3032fff2aaed;p=gostls13.git net: use IPv4 reserved address blocks for documentation Updates #15228. Change-Id: Iefdffa146703ee1c04afc2b71d9de1f0a0811f86 Reviewed-on: https://go-review.googlesource.com/32146 Run-TryBot: Mikio Hara TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/net.go b/src/net/net.go index b9a78266b5..4cf122475f 100644 --- a/src/net/net.go +++ b/src/net/net.go @@ -108,7 +108,7 @@ func init() { // and meaning of the strings is up to the implementation. type Addr interface { Network() string // name of the network (for example, "tcp", "udp") - String() string // string form of address (for example, "127.0.0.1:25", "[2001:db8::1]:80") + String() string // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80") } // Conn is a generic stream-oriented network connection.