changes to make rj45 maintain the interface information, instead of trying to be 2 classes at once

This commit is contained in:
Blake Harnden 2020-05-25 23:18:20 -07:00
parent 8fed201fd8
commit 7e4ef0b280
5 changed files with 47 additions and 74 deletions

View file

@ -354,7 +354,7 @@ class FrrService(CoreService):
for peerifc in ifc.net.netifs():
if peerifc == ifc:
continue
if isinstance(peerifc, Rj45Node):
if isinstance(peerifc.node, Rj45Node):
return True
return False