aboutsummaryrefslogtreecommitdiff
path: root/src/net/ip.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ip.go')
-rw-r--r--src/net/ip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ip.go b/src/net/ip.go
index 38e1aa2247..b016bef144 100644
--- a/src/net/ip.go
+++ b/src/net/ip.go
@@ -308,7 +308,7 @@ func ubtoa(dst []byte, start int, v byte) int {
// It returns one of 4 forms:
// - "<nil>", if ip has length 0
// - dotted decimal ("192.0.2.1"), if ip is an IPv4 or IP4-mapped IPv6 address
-// - IPv6 ("2001:db8::1"), if ip is a valid IPv6 address
+// - IPv6 conforming to RFC 5952 ("2001:db8::1"), if ip is a valid IPv6 address
// - the hexadecimal form of ip, without punctuation, if no other cases apply
func (ip IP) String() string {
p := ip