summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/parse
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/header/parse')
-rw-r--r--pkg/tcpip/header/parse/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/header/parse/parse.go b/pkg/tcpip/header/parse/parse.go
index 3e5336c04..de3a91227 100644
--- a/pkg/tcpip/header/parse/parse.go
+++ b/pkg/tcpip/header/parse/parse.go
@@ -176,6 +176,6 @@ func TCP(pkt *stack.PacketBuffer) bool {
// Returns true if the header was successfully parsed.
func GRE(pkt *stack.PacketBuffer) bool {
_, ok := pkt.TransportHeader().Consume(4)
- pkt.TransportProtocolNumber = 47
+ pkt.TransportProtocolNumber = header.GREProtocolNumber
return ok
}