-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reception of unknown packet types no longer leads to a crash (#36)
* go.mod updated Signed-off-by: 72nd <msg@frg72.com> * go.mod fixed Signed-off-by: 72nd <msg@frg72.com> * packet unmarshal now returns error on all packet types which are currently not implemented Signed-off-by: 72nd <msg@frg72.com> * group all not implemented opcodes in one case statement Signed-off-by: 72nd <msg@frg72.com> * return wrapped error when receiving not implemented/invalid opcode Signed-off-by: 72nd <msg@frg72.com> --------- Signed-off-by: 72nd <msg@frg72.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters