links have better names for debugging
This commit is contained in:
parent
743c531c1f
commit
f2f7afc38d
@ -114,6 +114,10 @@ namespace EduNetworkBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Network myNet = NB.GetNetwork();
|
Network myNet = NB.GetNetwork();
|
||||||
|
NetworkDevice snd = myNet.GetDeviceFromID(SrcNic);
|
||||||
|
NetworkDevice dnd = myNet.GetDeviceFromID(DstNic);
|
||||||
|
if (snd != null && dnd != null && hostname == "")
|
||||||
|
hostname = snd.hostname + "_link_" + dnd.hostname;
|
||||||
myNet.MarkAsLinked(SrcNic, GetUniqueIdentifier);
|
myNet.MarkAsLinked(SrcNic, GetUniqueIdentifier);
|
||||||
myNet.MarkAsLinked(DstNic, GetUniqueIdentifier);
|
myNet.MarkAsLinked(DstNic, GetUniqueIdentifier);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user