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
|
//Now we pass it to the nic
|
||||||
if (nc != null)
|
if (nc != null)
|
||||||
nc.ProcessInboundPacket(tPacket);
|
nc.ProcessInboundPacket(tPacket);
|
||||||
if (hostname != null)
|
//if (hostname != null)
|
||||||
Console.WriteLine("Starting on device: " + hostname + " VLANID = " + tPacket.VLANID.ToString());
|
// Console.WriteLine("Starting on device: " + hostname + " VLANID = " + tPacket.VLANID.ToString());
|
||||||
if(!tPacket.ready_to_delete)
|
if(!tPacket.ready_to_delete)
|
||||||
tPacket.StartOnDevice(this);
|
tPacket.StartOnDevice(this);
|
||||||
}
|
}
|
||||||
|
@ -196,7 +196,7 @@ namespace EduNetworkBuilder
|
|||||||
if (What == VLANTagType.Forbidden)
|
if (What == VLANTagType.Forbidden)
|
||||||
{
|
{
|
||||||
//we drop it silently
|
//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);
|
string errString = string.Format(NB.Translate("NI_VLANOut"), hostname, tPacket.destIP.GetIPString);
|
||||||
tPacket.AddMessage(DebugLevel.switching, errString);
|
tPacket.AddMessage(DebugLevel.switching, errString);
|
||||||
tPacket.Tracking.Status = errString;
|
tPacket.Tracking.Status = errString;
|
||||||
@ -227,14 +227,14 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
if (vi.ID == ID)
|
if (vi.ID == ID)
|
||||||
{
|
{
|
||||||
if (vi.Tag == VLANTagType.Forbidden)
|
//if (vi.Tag == VLANTagType.Forbidden)
|
||||||
Console.WriteLine(" About to be forbidden.");
|
// Console.WriteLine(" About to be forbidden.");
|
||||||
return vi;
|
return vi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//We do not have one set yet. Add a new one
|
//We do not have one set yet. Add a new one
|
||||||
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
||||||
Console.WriteLine(" Creating forbidden vlan - " + ID);
|
//Console.WriteLine(" Creating forbidden vlan - " + ID);
|
||||||
VLANs.Add(newVLANinfo);
|
VLANs.Add(newVLANinfo);
|
||||||
return newVLANinfo;
|
return newVLANinfo;
|
||||||
}
|
}
|
||||||
@ -268,14 +268,14 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
if (vi.ID == ID)
|
if (vi.ID == ID)
|
||||||
{
|
{
|
||||||
if (vi.Tag == VLANTagType.Forbidden)
|
//if (vi.Tag == VLANTagType.Forbidden)
|
||||||
Console.WriteLine(" About to be outbound forbidden.");
|
// Console.WriteLine(" About to be outbound forbidden.");
|
||||||
return vi;
|
return vi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//We do not have one set yet. Add a new one
|
//We do not have one set yet. Add a new one
|
||||||
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
newVLANinfo = new VLANInfo(ID, VLANTagType.Forbidden);
|
||||||
Console.WriteLine(" Creating outbound forbidden vlan - " + ID);
|
//Console.WriteLine(" Creating outbound forbidden vlan - " + ID);
|
||||||
VLANs.Add(newVLANinfo);
|
VLANs.Add(newVLANinfo);
|
||||||
return newVLANinfo;
|
return newVLANinfo;
|
||||||
}
|
}
|
||||||
|
@ -347,7 +347,7 @@ namespace EduNetworkBuilder
|
|||||||
public void StartOnLink(NetworkLink theLink, NetworkDevice start_device)
|
public void StartOnLink(NetworkLink theLink, NetworkDevice start_device)
|
||||||
{
|
{
|
||||||
if (theLink == null) return;
|
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;
|
InboundNic = null;
|
||||||
InboundInterface = null;
|
InboundInterface = null;
|
||||||
WhereAmI = theLink;
|
WhereAmI = theLink;
|
||||||
|
Loading…
Reference in New Issue
Block a user