Fix some things that we had issues with.

This commit is contained in:
Tim Young 2020-12-08 16:23:59 -07:00
parent d4989feb16
commit c4e12040f9
2 changed files with 2 additions and 2 deletions

View File

@ -533,7 +533,7 @@ namespace EduNetworkBuilder
if (tAddr != null &&
!tAddr.IsZeroString())
{
if(dAddress != null & dAddress.GetMask == tAddr.GetMask)
if(dAddress != null && dAddress.GetMask == tAddr.GetMask)
return true;
}
return false; //Something is not set right.

View File

@ -2834,7 +2834,7 @@ namespace EduNetworkBuilder
string DHCPGW = "";
//Do not ping the zero string. Should not go anywhere
if (dest != null && !dest.IsZeroString())
if (dest != null && dest.IsZeroString())
return new NB_IPAddress(NB.ZeroIPString);
foreach ( NB_IPAddress ip in RouteTable)