Skip to content

Commit

Permalink
Merge pull request #126 from tomatod/fix-connack-typo
Browse files Browse the repository at this point in the history
Fix typo of protocol error code of CONNACK (was 0x81, should be 0x82)
  • Loading branch information
MattBrittan authored Apr 2, 2023
2 parents 81fee5f + 95b392c commit 1001f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packets/connack.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
ConnackSuccess = 0x00
ConnackUnspecifiedError = 0x80
ConnackMalformedPacket = 0x81
ConnackProtocolError = 0x81
ConnackProtocolError = 0x82
ConnackImplementationSpecificError = 0x83
ConnackUnsupportedProtocolVersion = 0x84
ConnackInvalidClientID = 0x85
Expand Down

0 comments on commit 1001f81

Please sign in to comment.