From e0efdac65a9c06f87c49ef0818bd883c1fb6f35e Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Sat, 8 Apr 2017 12:13:39 +0200 Subject: [PATCH] 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 --- src/net/ip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.0