]> Cypherpunks repositories - gostls13.git/commit
net: reference the correct RFCs and sections for IP.IsPrivate
author6543 <6543@obermui.de>
Sun, 11 Apr 2021 04:37:47 +0000 (04:37 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Sun, 11 Apr 2021 15:56:20 +0000 (15:56 +0000)
commit189c6946f598dc668946499e4179775c06295f9d
tree7294b73f271f77fb30cdc216df5a39f32fadbc3b
parent3f4977bd5800beca059defb5de4dc64cd758cbb9
net: reference the correct RFCs and sections for IP.IsPrivate

Properly cite RFC 1918 Section 3 for ipv4,
and RFC 4193 Section 8 for ipv6 comments.

Updates #29146

Change-Id: I8a2df0d7bef50444294bb3301fe09fb09f21ffaf
GitHub-Last-Rev: b0341791c0c4a2f47fcea65a7ab3877afbe2040a
GitHub-Pull-Request: golang/go#45500
Reviewed-on: https://go-review.googlesource.com/c/go/+/309249
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
src/net/ip.go