Re-fixed switch stuff. Hopefully things are all working now

This commit is contained in:
Tim Young 2015-09-19 15:43:32 -04:00
parent ea480fe7d7
commit 87c085448d
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ namespace EduNetworkBuilder
if ((nf != null && nf.myIP.GetIPString != NB.ZeroIPString) || nPacket.MyType == PacketType.dhcp_request)
{
//this means we have a local interface to send it out of
if(nPacket.sourceMAC == null || nPacket.sourceMAC == "" || nPacket.isFresh)
//if(nPacket.sourceMAC == null || nPacket.sourceMAC == "" || nPacket.isFresh)
nPacket.sourceMAC = MAC;
//If the source IP is empty then it is a new packet. We set the source to be us
if (nPacket.sourceIP == null || nPacket.sourceIP.GetIPString == NB.ZeroIPString)