commit | fe3aa8a4527195a6057b3fad46619d7d090e99b5 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Mon Oct 28 03:02:19 2019 +0000 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Mon Oct 28 08:55:09 2019 +0000 |
tree | 7429db286fbd81511b386e98b221c607c658289d | |
parent | 53de4c7853b55ebf5ab449ccd99462cdf4db48de [diff] |
ipv4: use unsafe.Sizeof on struct size, not pointer size Fix for CL 203400. Change-Id: Ia0006cdeff4992a218c7a355bd83354138706833 Reviewed-on: https://go-review.googlesource.com/c/net/+/203777 Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.