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:
Mikio Hara
2014-10-10 06:55:56 +09:00
parent 3ffb8fd19b
commit d8abf88473

View File

@@ -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)