mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
go.net/internal/icmp: fix typo
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/149680043
This commit is contained in:
@@ -61,7 +61,7 @@ func (m *Message) Marshal(psh []byte) ([]byte, error) {
|
||||
b = append(b, mb...)
|
||||
}
|
||||
if icmpv6 {
|
||||
if psh == nil { // cannot calculate checkshum here
|
||||
if psh == nil { // cannot calculate checksum here
|
||||
return b, nil
|
||||
}
|
||||
off, l := 2*net.IPv6len, len(b)-len(psh)
|
||||
|
||||
Reference in New Issue
Block a user