net/packet: fix doc copy/paste-o

Change-Id: I0aca490b3ccb0c124192afb362a10b19a15a3e2b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-12-08 21:12:16 -08:00
parent 878a20df29
commit 485bcdc951

View File

@ -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 { func (q *Parsed) IsEchoResponse() bool {
switch q.IPProto { switch q.IPProto {
case ipproto.ICMPv4: case ipproto.ICMPv4: