Merge branch 'master' of github.com:40t/go-sniffer

This commit is contained in:
solar
2019-03-07 07:59:07 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -218,6 +218,9 @@ func (stm *stream) findStmtPacket(srv chan *packet, seq int) *packet {
func (stm *stream) resolveServerPacket(payload []byte, seq int) {
var msg = ""
if len(payload) == 0 {
return
}
switch payload[0] {
case 0xff: