From 105825808d082ae0972a013cccb3899b4c572dd1 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Thu, 19 Dec 2019 11:10:08 -0800 Subject: [PATCH] fixed edge refactoring issue when finding next subnet --- daemon/core/gui/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/core/gui/interface.py b/daemon/core/gui/interface.py index ec0bcec5..fe08b0dd 100644 --- a/daemon/core/gui/interface.py +++ b/daemon/core/gui/interface.py @@ -21,7 +21,8 @@ class InterfaceManager: def next_subnet(self): # define currently used subnets used_subnets = set() - for link in self.app.core.links.values(): + for edge in self.app.core.links.values(): + link = edge.link if link.HasField("interface_one"): subnet = self.get_subnet(link.interface_one) used_subnets.add(subnet)