Commit d8abf884 authored by Mikio Hara's avatar Mikio Hara

go.net/internal/icmp: fix typo

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/149680043
parent 3ffb8fd1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment