From b0681791e3566eaed5d7df4c9c5c13bd1b2b68f8 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 3 Jul 2025 14:44:28 +0300 Subject: Fixed ci based on check-ci (incomplete) --- internal/packet/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/packet/packet.go') diff --git a/internal/packet/packet.go b/internal/packet/packet.go index ffda3ef..543b227 100644 --- a/internal/packet/packet.go +++ b/internal/packet/packet.go @@ -97,7 +97,7 @@ func Init() { } func (e PacketType) IsSupported() bool { - return 0 <= e && e < PacketMax + return e < PacketMax } func (e PacketType) String() string { -- cgit v1.3.1