Small glitch if cannot find device on a link
This commit is contained in:
parent
afff91667b
commit
a893185dbc
@ -464,6 +464,7 @@ namespace EduNetworkBuilder
|
||||
if(Link != null)
|
||||
{
|
||||
NetworkDevice tmp = myNet.GetDeviceFromID(Link.Src);
|
||||
if (tmp == null) continue;
|
||||
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
||||
tmp = myNet.GetDeviceFromID(Link.Dst);
|
||||
if (tmp.hostname != hostname) thelist.Add(tmp.hostname);
|
||||
|
Loading…
Reference in New Issue
Block a user