Skip to content

Commit

Permalink
修复协议解析插件bug
Browse files Browse the repository at this point in the history
  • Loading branch information
microrain authored and microrain committed Aug 12, 2023
1 parent 86af7be commit 563815a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extend/extend.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (pm *SysPlugin) GetProtocolUnpackData(protocolType string, data []byte) (re
if err != nil {
return
}
res = p.(module.Protocol).Read(data)
res, err = p.(module.Protocol).Decode(data, "")
return
}

Expand Down

0 comments on commit 563815a

Please sign in to comment.