Removed console.writelines that were no longer needed
This commit is contained in:
parent
828387ba8a
commit
907fdc17dd
@ -2382,8 +2382,8 @@ namespace EduNetworkBuilder
|
||||
//Now we pass it to the nic
|
||||
if (nc != null)
|
||||
nc.ProcessInboundPacket(tPacket);
|
||||
if (hostname != null)
|
||||
Console.WriteLine("Starting on device: " + hostname + " VLANID = " + tPacket.VLANID.ToString());
|
||||
//if (hostname != null)
|
||||
// Console.WriteLine("Starting on device: " + hostname + " VLANID = " + tPacket.VLANID.ToString());
|
||||
if(!tPacket.ready_to_delete)
|
||||
tPacket.StartOnDevice(this);
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ namespace EduNetworkBuilder
|
||||
if (What == VLANTagType.Forbidden)
|
||||
{
|
||||
//we drop it silently
|
||||
Console.WriteLine(" -- Forbidding outbound packet. " + tPacket.VLANID + " " + HD.hostname + " " + VI.ID);
|
||||
//Console.WriteLine(" -- Forbidding outbound packet. " + tPacket.VLANID + " " + HD.hostname + " " + VI.ID);
|
||||
string errString = string.Format(NB.Translate("NI_VLANOut"), hostname, tPacket.destIP.GetIPString);
|
||||
tPacket.AddMessage(DebugLevel.switching, errString);
|
||||
tPacket.Tracking.Status = errString;
|
||||
@ -227,14 +227,14 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
if (vi.ID == ID)
|
||||
{
|
||||
if (vi.Tag == VLANTagType.Forbidden)
|
||||
Console.WriteLine(" About to be forbidden.");
|
||||
//if (vi.Tag == VLANTagType.Forbidden)
|
||||
// Console.WriteLine(" About to be forbidden.");
|
||||
return vi;
|
||||
}
|
||||
}
|
||||
//We do not have one set yet. Add a new one
|
||||
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
||||
Console.WriteLine(" Creating forbidden vlan - " + ID);
|
||||
//Console.WriteLine(" Creating forbidden vlan - " + ID);
|
||||
VLANs.Add(newVLANinfo);
|
||||
return newVLANinfo;
|
||||
}
|
||||
@ -268,14 +268,14 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
if (vi.ID == ID)
|
||||
{
|
||||
if (vi.Tag == VLANTagType.Forbidden)
|
||||
Console.WriteLine(" About to be outbound forbidden.");
|
||||
//if (vi.Tag == VLANTagType.Forbidden)
|
||||
// Console.WriteLine(" About to be outbound forbidden.");
|
||||
return vi;
|
||||
}
|
||||
}
|
||||
//We do not have one set yet. Add a new one
|
||||
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
||||
Console.WriteLine(" Creating outbound forbidden vlan - " + ID);
|
||||
//Console.WriteLine(" Creating outbound forbidden vlan - " + ID);
|
||||
VLANs.Add(newVLANinfo);
|
||||
return newVLANinfo;
|
||||
}
|
||||
|
@ -347,7 +347,7 @@ namespace EduNetworkBuilder
|
||||
public void StartOnLink(NetworkLink theLink, NetworkDevice start_device)
|
||||
{
|
||||
if (theLink == null) return;
|
||||
Console.WriteLine("Starting on link: " + theLink.GetUniqueIdentifier + " vlanID = " + VLANID.ToString());
|
||||
//Console.WriteLine("Starting on link: " + theLink.GetUniqueIdentifier + " vlanID = " + VLANID.ToString());
|
||||
InboundNic = null;
|
||||
InboundInterface = null;
|
||||
WhereAmI = theLink;
|
||||
|
Loading…
Reference in New Issue
Block a user