gui: fixed error related to finalizing linked nodes due to recent throughput correction
This commit is contained in:
parent
f43e8f7646
commit
8e2593c9e0
1 changed files with 6 additions and 4 deletions
|
@ -673,10 +673,12 @@ class CoreClient:
|
||||||
self.links[edge.token] = edge
|
self.links[edge.token] = edge
|
||||||
src_node = edge.src.core_node
|
src_node = edge.src.core_node
|
||||||
dst_node = edge.dst.core_node
|
dst_node = edge.dst.core_node
|
||||||
src_iface_id = edge.link.iface1.id
|
if edge.link.iface1:
|
||||||
self.iface_to_edge[(src_node.id, src_iface_id)] = edge
|
src_iface_id = edge.link.iface1.id
|
||||||
dst_iface_id = edge.link.iface2.id
|
self.iface_to_edge[(src_node.id, src_iface_id)] = edge
|
||||||
self.iface_to_edge[(dst_node.id, dst_iface_id)] = edge
|
if edge.link.iface2:
|
||||||
|
dst_iface_id = edge.link.iface2.id
|
||||||
|
self.iface_to_edge[(dst_node.id, dst_iface_id)] = edge
|
||||||
|
|
||||||
def get_wlan_configs(self) -> List[Tuple[int, Dict[str, str]]]:
|
def get_wlan_configs(self) -> List[Tuple[int, Dict[str, str]]]:
|
||||||
configs = []
|
configs = []
|
||||||
|
|
Loading…
Reference in a new issue