mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 19:51:41 +00:00
net/packet: fix doc copy/paste-o
Change-Id: I0aca490b3ccb0c124192afb362a10b19a15a3e2b Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
878a20df29
commit
485bcdc951
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user