fixing the packet dropped error message

This commit is contained in:
Tim Young 2016-11-12 16:55:16 -07:00
parent 4068f49f5a
commit d38a81c3fe
4 changed files with 7 additions and 4 deletions

View File

@ -96,6 +96,7 @@ namespace EduNetworkBuilder
nicLocked = true; nicLocked = true;
interfacesLocked = true; interfacesLocked = true;
} }
cbFirewall.Checked = ndCLonedItem.HasAdvFirewall;
if (ndCLonedItem.HasAdvFirewall && ndCLonedItem.DoesFirewall()) if (ndCLonedItem.HasAdvFirewall && ndCLonedItem.DoesFirewall())
btnFirewall.Visible = true; btnFirewall.Visible = true;
else else

View File

@ -1240,6 +1240,7 @@ namespace EduNetworkBuilder
MustUseDHCP = ndCopyFrom.MustUseDHCP; MustUseDHCP = ndCopyFrom.MustUseDHCP;
isDHCPServer = ndCopyFrom.isDHCPServer; isDHCPServer = ndCopyFrom.isDHCPServer;
isDNSServer = ndCopyFrom.isDNSServer; isDNSServer = ndCopyFrom.isDNSServer;
HasAdvFirewall = ndCopyFrom.HasAdvFirewall;
MyLocation = ndCopyFrom.MyLocation; MyLocation = ndCopyFrom.MyLocation;

View File

@ -379,8 +379,9 @@ namespace EduNetworkBuilder
string message = string.Format(NB.Translate("P_FirewallDropped"), start_device.hostname); string message = string.Format(NB.Translate("P_FirewallDropped"), start_device.hostname);
AddMessage(DebugLevel.filtering, message); AddMessage(DebugLevel.filtering, message);
Tracking.Status = message; Tracking.Status = message;
AddMessage(DebugLevel.filtering, message); Tracking.AddMessage(DebugLevel.info, start_device, message);
MyStatus = PacketStatus.finished_failed; AddMessage(DebugLevel.info, message);
MyStatus = PacketStatus.finished_ok;
return; return;
} }
} }

View File

@ -1526,8 +1526,8 @@
<comment>NI_VLANInUntagged = Packet is expected to be untagged, but it is tagged.</comment> <comment>NI_VLANInUntagged = Packet is expected to be untagged, but it is tagged.</comment>
</data> </data>
<data name="NI_VLANOut" xml:space="preserve"> <data name="NI_VLANOut" xml:space="preserve">
<value>Packed forbidden to go out this port</value> <value>Packet forbidden to go out this port</value>
<comment>NI_VLANOut = Packed forbidden to go out this port</comment> <comment>NI_VLANOut = Packet forbidden to go out this port</comment>
</data> </data>
<data name="H_VLAN_Key" xml:space="preserve"> <data name="H_VLAN_Key" xml:space="preserve">
<value>VLANs:</value> <value>VLANs:</value>