bad packets are not logged.

This commit is contained in:
Tim Young 2018-04-04 16:19:51 +03:00
parent 1e4c8b3273
commit 501c08c181

View File

@ -454,7 +454,7 @@ namespace EduNetworkBuilder
Tracking.Status = NB.Translate("P_PacketFailedToReach2") + ": "+ destIP.GetIPString;
MyStatus = PacketStatus.finished_failed;
}
if (MyStatus != PacketStatus.finished)
if (MyStatus != PacketStatus.finished && MyType != PacketType.bad_packet)
myNet.AddMessage(Tracking); //We only store finished_failed, and finished_ok
//if (sourceIP != null && destIP != null)
//{