diff options
Diffstat (limited to 'net/packet/icmp4.go')
| -rw-r--r-- | net/packet/icmp4.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/packet/icmp4.go b/net/packet/icmp4.go index 730239abf..9375aebd6 100644 --- a/net/packet/icmp4.go +++ b/net/packet/icmp4.go @@ -45,7 +45,8 @@ func (t ICMP4Type) String() string { type ICMP4Code uint8 const ( - ICMP4NoCode ICMP4Code = 0 + ICMP4NoCode ICMP4Code = 0x00 + ICMP4FragmentationNeeded = 0x04 ) // ICMP4Header is an IPv4+ICMPv4 header. |
