From 9b78092b5a547e6882ea821a861a00b34a7af5d6 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Fri, 25 Aug 2017 10:15:01 -0500 Subject: [PATCH] Add a traversal class to the packet. --- EduNetworkBuilder/Packet.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EduNetworkBuilder/Packet.cs b/EduNetworkBuilder/Packet.cs index 945f174..b86967c 100644 --- a/EduNetworkBuilder/Packet.cs +++ b/EduNetworkBuilder/Packet.cs @@ -67,6 +67,7 @@ namespace EduNetworkBuilder 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 DebugOn = false; + public TraversalClass TraversalInformation = new TraversalClass(); public bool ready_to_delete { @@ -114,6 +115,7 @@ namespace EduNetworkBuilder packetID = copyfrom.packetID; VLANID = copyfrom.VLANID; Tracking.AddMessage(DebugLevel.debug, WhereAmI, NB.Translate("P_PacketDuplicated")); + TraversalInformation = copyfrom.TraversalInformation.Clone(); } //Generate a packet with the given payload.