Skip to content

Commit 148cc04

Browse files
committed
lint: netstack/icmpecho.go
1 parent 983ec72 commit 148cc04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

intra/netstack/icmpecho.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ import (
1717
)
1818

1919
const minICMPPacketSize = header.ICMPv4MinimumSize + header.IPv4MinimumSize
20-
const typicalICMPEchoPayloadSize = 64 // or 56
21-
const expectedICMPPacketSize = header.IPv6MinimumSize + header.ICMPv6MinimumSize + typicalICMPEchoPayloadSize
2220
const useIcmpForwarder = true
2321

22+
// const typicalICMPEchoPayloadSize = 64 // or 56
23+
// const expectedICMPPacketSize = header.IPv6MinimumSize + header.ICMPv6MinimumSize + typicalICMPEchoPayloadSize
24+
2425
// TODO: get rid of the global in favor of passing the handler via the responder.
2526
// hdlEcho stores the ICMP handler used by the dispatcher-level ICMP
2627
// interception path.

0 commit comments

Comments
 (0)