Skip to content

Commit 98dfce4

Browse files
committed
netstack/icmp: incr expected icmp pkt size to 112
1 parent 2b5e7b2 commit 98dfce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/netstack/icmpecho.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const minICMPPacketSize = header.ICMPv4MinimumSize + header.IPv4MinimumSize
20-
const typicalICMPEchoPayloadSize = 32
20+
const typicalICMPEchoPayloadSize = 64 // or 56
2121
const expectedICMPPacketSize = header.IPv6MinimumSize + header.ICMPv6MinimumSize + typicalICMPEchoPayloadSize
2222

2323
// TODO: get rid of the global in favor of passing the handler via the responder.

0 commit comments

Comments
 (0)