Packets do not pass through burned devices

This commit is contained in:
Tim Young 2018-02-14 16:38:30 +00:00
parent 44c7b90c3b
commit 5e1c38e81f
2 changed files with 11 additions and 0 deletions

View File

@ -740,6 +740,13 @@ namespace EduNetworkBuilder
tPacket.MyStatus = PacketStatus.finished_failed;
}
}
if (nd.IsBurned)
{
//the device is busted and nonfunctional. No response.
tPacket.AddMessage(DebugLevel.info, NB.Translate("NC_Burned"));
tPacket.Tracking.Status = NB.Translate("NC_Burned");
tPacket.MyStatus = PacketStatus.finished_failed;
}
if (tPacket == null) return;
tPacket.InboundNic = this; //track which nic we came in on.

View File

@ -1997,6 +1997,10 @@
<value>Replace</value>
<comment>NB_Replace = Replace</comment>
</data>
<data name="NC_Burned" xml:space="preserve">
<value>The device is not responding.</value>
<comment>NC_Burned = The device is not responding.</comment>
</data>
<data name="NT_TstDscriptBadDevice" xml:space="preserve">
<value>Something seems broken with this device</value>
<comment>NT_TstDscriptBadDevice = Something seems broken with this device</comment>