1
0
Fork 0

Update golang.org/x/net dependency

This commit is contained in:
Michael 2018-06-28 17:58:04 +02:00 committed by Traefiker Bot
parent d5436fb28b
commit ba8c9295ac
23 changed files with 934 additions and 422 deletions

View file

@ -98,7 +98,7 @@ func (h *Header) Marshal() ([]byte, error) {
return b, nil
}
// Parse parses b as an IPv4 header and sotres the result in h.
// Parse parses b as an IPv4 header and stores the result in h.
func (h *Header) Parse(b []byte) error {
if h == nil || len(b) < HeaderLen {
return errHeaderTooShort