Merge branch 'master' of https://tyounglightsys.visualstudio.com/DefaultCollection/_git/EduNetworkBuilder
This commit is contained in:
commit
8e5c9cb97a
@ -464,6 +464,7 @@ namespace EduNetworkBuilder
|
|||||||
if(Link != null)
|
if(Link != null)
|
||||||
{
|
{
|
||||||
NetworkDevice tmp = myNet.GetDeviceFromID(Link.Src);
|
NetworkDevice tmp = myNet.GetDeviceFromID(Link.Src);
|
||||||
|
if (tmp == null) continue;
|
||||||
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
||||||
tmp = myNet.GetDeviceFromID(Link.Dst);
|
tmp = myNet.GetDeviceFromID(Link.Dst);
|
||||||
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
||||||
|
Loading…
Reference in New Issue
Block a user