Merge branch 'develop' into findfeature
This commit is contained in:
commit
a3a9aee7f7
2 changed files with 3 additions and 3 deletions
|
@ -487,14 +487,13 @@ class CoreClient:
|
|||
nodes = [x.core_node for x in self.canvas_nodes.values()]
|
||||
links = []
|
||||
for edge in self.links.values():
|
||||
link = edge.link
|
||||
logging.info("link: %s", link)
|
||||
link = core_pb2.Link()
|
||||
link.CopyFrom(edge.link)
|
||||
if link.HasField("interface_one") and not link.interface_one.mac:
|
||||
link.interface_one.mac = self.interfaces_manager.next_mac()
|
||||
if link.HasField("interface_two") and not link.interface_two.mac:
|
||||
link.interface_two.mac = self.interfaces_manager.next_mac()
|
||||
links.append(link)
|
||||
links = [x.link for x in self.links.values()]
|
||||
wlan_configs = self.get_wlan_configs_proto()
|
||||
mobility_configs = self.get_mobility_configs_proto()
|
||||
emane_model_configs = self.get_emane_model_configs_proto()
|
||||
|
|
|
@ -59,3 +59,4 @@ class MacConfigDialog(Dialog):
|
|||
self.app.core.interfaces_manager.mac = netaddr.EUI(mac)
|
||||
self.app.guiconfig["mac"] = mac
|
||||
self.app.save_config()
|
||||
self.destroy()
|
||||
|
|
Loading…
Reference in a new issue