remove other debug comments
This commit is contained in:
parent
315576ea9f
commit
67a13cb179
@ -1194,10 +1194,10 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
if(ipc.What == PacketType.dhcp_request)
|
if(ipc.What == PacketType.dhcp_request)
|
||||||
{
|
{
|
||||||
Console.WriteLine(hostname + ": packet=" + tPacket.MyType.ToString());
|
//Console.WriteLine(hostname + ": packet=" + tPacket.MyType.ToString());
|
||||||
Console.WriteLine(" " + hostname + ": d:" + ipc.destIP.GetIPString + " s:" + tPacket.sourceIP.GetIPString);
|
//Console.WriteLine(" " + hostname + ": d:" + ipc.destIP.GetIPString + " s:" + tPacket.sourceIP.GetIPString);
|
||||||
if (HasBroadcastAddress(ipc.destIP))
|
//if (HasBroadcastAddress(ipc.destIP))
|
||||||
Console.WriteLine(" Broadcast");
|
// Console.WriteLine(" Broadcast");
|
||||||
}
|
}
|
||||||
if(ipc.destIP.GetIP == tPacket.sourceIP.GetIP || HasBroadcastAddress(ipc.destIP))
|
if(ipc.destIP.GetIP == tPacket.sourceIP.GetIP || HasBroadcastAddress(ipc.destIP))
|
||||||
{
|
{
|
||||||
@ -1205,7 +1205,7 @@ namespace EduNetworkBuilder
|
|||||||
typesMatch = true;
|
typesMatch = true;
|
||||||
if (ipc.What == PacketType.dhcp_request && tPacket.MyType == PacketType.dhcp_answer)
|
if (ipc.What == PacketType.dhcp_request && tPacket.MyType == PacketType.dhcp_answer)
|
||||||
{
|
{
|
||||||
Console.WriteLine(" " + hostname + ": True");
|
//Console.WriteLine(" " + hostname + ": True");
|
||||||
typesMatch = true;
|
typesMatch = true;
|
||||||
}
|
}
|
||||||
if (ipc.What == PacketType.ping_request && tPacket.MyType == PacketType.ping_answer)
|
if (ipc.What == PacketType.ping_request && tPacket.MyType == PacketType.ping_answer)
|
||||||
|
Loading…
Reference in New Issue
Block a user