add ethernet and wireless traversal information
This commit is contained in:
parent
eaab7771ff
commit
c3fcecdba0
@ -417,6 +417,11 @@ namespace EduNetworkBuilder
|
||||
myDirection = nb_direction.to_src;
|
||||
//Console.WriteLine(NB.Translate("P_StartingOnLink") + string.Format(" SMAC: {0} DMAC: {1}",sourceMAC,destMAC));
|
||||
AddMessage(DebugLevel.debug, " " + NB.Translate("P_StartingOnLink"));
|
||||
if(theLink.theLinkType == LinkType.wireless)
|
||||
TraversalInformation.AddPath(theLink.hostname, TraversalTechnology.wireless); //We just went to wireless
|
||||
else
|
||||
TraversalInformation.AddPath(theLink.hostname, TraversalTechnology.ethernet); //We just went to ethernet
|
||||
|
||||
}
|
||||
|
||||
public void StartOnDevice(NetworkDevice theDevice)
|
||||
|
Loading…
Reference in New Issue
Block a user