diff --git a/net/packet/packet.go b/net/packet/packet.go index 5c27b6cc4..2f4187e83 100644 --- a/net/packet/packet.go +++ b/net/packet/packet.go @@ -410,7 +410,7 @@ func (q *Parsed) IsEchoRequest() bool { } } -// IsEchoRequest reports whether q is an IPv4 ICMP Echo Response. +// IsEchoResponse reports whether q is an IPv4 ICMP Echo Response. func (q *Parsed) IsEchoResponse() bool { switch q.IPProto { case ipproto.ICMPv4: