From: Alberto Donizetti Date: Sat, 8 Apr 2017 10:13:39 +0000 (+0200) Subject: net: fix typo in ParseCIDR doc X-Git-Tag: go1.9beta1~774 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e0efdac65a9c06f87c49ef0818bd883c1fb6f35e;p=gostls13.git net: fix typo in ParseCIDR doc Fixes #19891 Change-Id: I2f2684dd5fbfcf93fca0f2c3caf678f44605687f Reviewed-on: https://go-review.googlesource.com/40090 Reviewed-by: Mikio Hara Run-TryBot: Mikio Hara TryBot-Result: Gobot Gobot --- diff --git a/src/net/ip.go b/src/net/ip.go index db6bc38798..668818cc4f 100644 --- a/src/net/ip.go +++ b/src/net/ip.go @@ -662,7 +662,7 @@ func ParseIP(s string) IP { // It returns the IP address and the network implied by the IP and // prefix length. // For example, ParseCIDR("192.0.2.1/24") returns the IP address -// 198.0.2.1 and the network 198.0.2.0/24. +// 192.0.2.1 and the network 192.0.2.0/24. func ParseCIDR(s string) (IP, *IPNet, error) { i := byteIndex(s, '/') if i < 0 {