]> Cypherpunks repositories - gostls13.git/commit
net: fix ExampleParseCIDR IPv4 prefix length
authorRob Phoenix <rob@robphoenix.com>
Tue, 9 May 2017 09:26:08 +0000 (10:26 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 9 May 2017 13:47:33 +0000 (13:47 +0000)
commit1e732ca388054281f43183f01c233611dd938782
tree969f5b170300976c419d4641782ddb906543e68b
parent096e2bffdf065dbaa4e5023d6b83ce694a37b949
net: fix ExampleParseCIDR IPv4 prefix length

Issue #15228 describes that reserved address blocks should be used for
documentation purposes. This change updates the prefix length so the
IPv4 address adheres to this.

Change-Id: I237d9cce1a71f4fd95f927ec894ce53fa806047f
Reviewed-on: https://go-review.googlesource.com/42991
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/example_test.go