Fix some things that we had issues with.
This commit is contained in:
parent
d4989feb16
commit
c4e12040f9
@ -533,7 +533,7 @@ namespace EduNetworkBuilder
|
|||||||
if (tAddr != null &&
|
if (tAddr != null &&
|
||||||
!tAddr.IsZeroString())
|
!tAddr.IsZeroString())
|
||||||
{
|
{
|
||||||
if(dAddress != null & dAddress.GetMask == tAddr.GetMask)
|
if(dAddress != null && dAddress.GetMask == tAddr.GetMask)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false; //Something is not set right.
|
return false; //Something is not set right.
|
||||||
|
@ -2834,7 +2834,7 @@ namespace EduNetworkBuilder
|
|||||||
string DHCPGW = "";
|
string DHCPGW = "";
|
||||||
|
|
||||||
//Do not ping the zero string. Should not go anywhere
|
//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);
|
return new NB_IPAddress(NB.ZeroIPString);
|
||||||
|
|
||||||
foreach ( NB_IPAddress ip in RouteTable)
|
foreach ( NB_IPAddress ip in RouteTable)
|
||||||
|
Loading…
Reference in New Issue
Block a user