wgengine/filter: add check for unknown proto

Updates #14280

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby
2025-01-08 10:53:07 +01:00
committed by Kristoffer Dalby
parent f39ee8e520
commit f0b63d0eec
3 changed files with 10 additions and 1 deletions

View File

@@ -41,6 +41,9 @@ const (
// ReasonFragment means that the packet was dropped because it was an IP fragment.
ReasonFragment DropReason = "fragment"
// ReasonUnknownProtocol means that the packet was dropped because it was an unknown protocol.
ReasonUnknownProtocol DropReason = "unknown_protocol"
// ReasonError means that the packet was dropped because of an error.
ReasonError DropReason = "error"
)