summaryrefslogtreecommitdiff
path: root/internal/packet
diff options
context:
space:
mode:
Diffstat (limited to 'internal/packet')
-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 {