You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When encoding a packet that contains a GTPv1U layer that is not the last layer, the GTPExtensionHeaders are incorrectly placed at the end of the packet, instead of right after the GTPv1U minimum header before the next layer.
When encoding a packet that contains a GTPv1U layer that is not the last layer, the GTPExtensionHeaders are incorrectly placed at the end of the packet, instead of right after the GTPv1U minimum header before the next layer.
Environment
Go v1.22.4
GoPacket v1.1.19
Snippet to Reproduce
https://go.dev/play/p/E97DgsjS18d
Expected Output
Actual Output
Root Cause
gopacket/layers/gtp.go
Line 132 in 32ee382
SerializeBuffer.AppendBytes
is called on a non-empty buffer, so that extension headers are placed after the inner layers.The text was updated successfully, but these errors were encountered: