summaryrefslogtreecommitdiff
path: root/internal/packet/packet.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-03 14:44:28 +0300
committerKyren223 <Kyren223@proton.me>2025-07-03 14:44:28 +0300
commitb0681791e3566eaed5d7df4c9c5c13bd1b2b68f8 (patch)
tree2e697dcab63f0128f2e397614228ab77987434a0 /internal/packet/packet.go
parentb951d00f792360e84fe1d196b0dc92d9aabb18a4 (diff)
Fixed ci based on check-ci (incomplete)
Diffstat (limited to 'internal/packet/packet.go')
-rw-r--r--internal/packet/packet.go2
1 files changed, 1 insertions, 1 deletions
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 {