summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.go b/packet.go
index 7a6b3fb..98ce426 100644
--- a/packet.go
+++ b/packet.go
@@ -54,7 +54,7 @@ func (e InvalidPacketLengthError) Error() string {
return fmt.Sprintf("packet: Invalid packet length: %d", int(e))
}
-// InvalidPacketLengthError is the error returned when decodePacket rejects the
+// InvalidPayloadLengthError is the error returned when decodePacket rejects the
// payload length.
type InvalidPayloadLengthError int