Add a traversal class to the packet.
This commit is contained in:
parent
f4cade1652
commit
9b78092b5a
@ -67,6 +67,7 @@ namespace EduNetworkBuilder
|
|||||||
public string OutboundDestMAC = "";
|
public string OutboundDestMAC = "";
|
||||||
public bool isFresh = false; //Set to be true if the packet is new. Set false as soon as it is processed
|
public bool isFresh = false; //Set to be true if the packet is new. Set false as soon as it is processed
|
||||||
public bool DebugOn = false;
|
public bool DebugOn = false;
|
||||||
|
public TraversalClass TraversalInformation = new TraversalClass();
|
||||||
|
|
||||||
public bool ready_to_delete
|
public bool ready_to_delete
|
||||||
{
|
{
|
||||||
@ -114,6 +115,7 @@ namespace EduNetworkBuilder
|
|||||||
packetID = copyfrom.packetID;
|
packetID = copyfrom.packetID;
|
||||||
VLANID = copyfrom.VLANID;
|
VLANID = copyfrom.VLANID;
|
||||||
Tracking.AddMessage(DebugLevel.debug, WhereAmI, NB.Translate("P_PacketDuplicated"));
|
Tracking.AddMessage(DebugLevel.debug, WhereAmI, NB.Translate("P_PacketDuplicated"));
|
||||||
|
TraversalInformation = copyfrom.TraversalInformation.Clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Generate a packet with the given payload.
|
//Generate a packet with the given payload.
|
||||||
|
Loading…
Reference in New Issue
Block a user