This commit is contained in:
esrrhs 2019-10-25 21:31:04 +08:00
parent d3479c08a1
commit 959dd136d9

View File

@ -102,7 +102,7 @@ func recvICMP(conn icmp.PacketConn, recv chan<- *Packet) {
continue
}
if my.Magic == (int32)(MyMsg_MAGIC) {
if my.Magic != (int32)(MyMsg_MAGIC) {
loggo.Debug("processPacket data invalid %s", my.Id)
continue
}