mirror of https://github.com/40t/go-sniffer.git
fix resolveServerPacket
This commit is contained in:
parent
10cf59920e
commit
0fc528e0af
|
@ -216,6 +216,9 @@ func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet {
|
||||||
func (stm *stream) resolveServerPacket(payload []byte, seq int) {
|
func (stm *stream) resolveServerPacket(payload []byte, seq int) {
|
||||||
|
|
||||||
var msg = ""
|
var msg = ""
|
||||||
|
if len(payload) == 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
switch payload[0] {
|
switch payload[0] {
|
||||||
|
|
||||||
case 0xff:
|
case 0xff:
|
||||||
|
|
Loading…
Reference in New Issue