Skip to content

Commit 7e3656a

Browse files
committed
ipv4: remove unused const maxHeaderLen
It's unused since CL 162598. Change-Id: I434dbc9950bb535167c40498ed7c15589db74eaf Reviewed-on: https://go-review.googlesource.com/c/net/+/232537 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Matt Layher <[email protected]>
1 parent 1ed2336 commit 7e3656a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ipv4/header.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ import (
1414
)
1515

1616
const (
17-
Version = 4 // protocol version
18-
HeaderLen = 20 // header length without extension headers
19-
maxHeaderLen = 60 // sensible default, revisit if later RFCs define new usage of version and header length fields
17+
Version = 4 // protocol version
18+
HeaderLen = 20 // header length without extension headers
2019
)
2120

2221
type HeaderFlags int

0 commit comments

Comments
 (0)