From 0676a56352b4d6e6be2ee7a502086734f149f51c Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 28 Jun 2017 11:41:48 -0500 Subject: [PATCH] Minor bug if SSID was null. We were comparing with "" to see if it was empty, but null != "". So we also compare with null now. --- EduNetworkBuilder/NetworkLink.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EduNetworkBuilder/NetworkLink.cs b/EduNetworkBuilder/NetworkLink.cs index 1a25414..7ac62b7 100644 --- a/EduNetworkBuilder/NetworkLink.cs +++ b/EduNetworkBuilder/NetworkLink.cs @@ -205,6 +205,10 @@ namespace EduNetworkBuilder { if (sNic.WirelessKey != dNic.WirelessKey) deleteme = true; + if (sNic.SSID == "" || sNic.SSID == null) //if no SSID set + deleteme = true; + if (dNic.SSID == "" || dNic.SSID == null) //if no SSID set + deleteme = true; if (sNic.SSID != dNic.SSID) deleteme = true; if (LinkDistance() > NB.WirelessMaxUnsuccessfulLink)