This commit is contained in:
jackdaw@loafle.com 2017-04-11 14:07:34 +09:00
parent cf81c9a442
commit 55682d7d39

View File

@ -66,7 +66,7 @@ func (s *SocketHeahthCrawler) CheckHeahth(params map[string]interface{}) (bool,
} else {
for i := 1; i < s.m.PacketCount(); i++ {
pack := s.m.Packet(i)
pack := s.m.Packet(i-1)
conn.Write(pack.Buffer)
bytes := make([]byte, 1024)
n, _ := conn.Read(bytes)