This commit is contained in:
patryk4815 2024-12-10 13:46:18 +01:00 committed by GitHub
commit 8991ba1ff0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ type NFGenMsg struct {
} }
func (genmsg *NFGenMsg) Decode(b []byte) { func (genmsg *NFGenMsg) Decode(b []byte) {
if len(b) < 16 { if len(b) < 4 {
return return
} }
genmsg.NFGenFamily = b[0] genmsg.NFGenFamily = b[0]