diff --git a/EduNetworkBuilder/NetworkCard.cs b/EduNetworkBuilder/NetworkCard.cs index 30554fc..bc7c486 100644 --- a/EduNetworkBuilder/NetworkCard.cs +++ b/EduNetworkBuilder/NetworkCard.cs @@ -751,8 +751,17 @@ namespace EduNetworkBuilder //We make sure the MAC matches. mynet = NB.GetNetwork(); nd = mynet.GetDeviceFromID(myID); - - if(mynet.ItemHasTest(nd.hostname,NetTestType.DeviceIsFrozen)) + + if (mynet.ItemHasTest(nd.hostname, NicName(), NetTestType.DeviceNICSprays)) + { + //We should drop the current packet. + tPacket.AddMessage(DebugLevel.info, NB.Translate("N_ProssShouldContinTime")); + tPacket.Tracking.Status = NB.Translate("N_ProssShouldContinTime"); + tPacket.MyStatus = PacketStatus.finished_failed; + //Then, we make a bad packet go out from here + nd.BadPacketFromHere(); + } + if (mynet.ItemHasTest(nd.hostname,NetTestType.DeviceIsFrozen)) { if(!mynet.ItemTestIsComplete(nd.hostname, NetTestType.DeviceIsFrozen)) {