daemon: removed need to use getaddr for CoreInterface.othernet as it now has a default of None
This commit is contained in:
parent
00cda5c550
commit
e72e332bab
1 changed files with 1 additions and 1 deletions
|
@ -1040,7 +1040,7 @@ class CoreNetworkBase(NodeBase):
|
|||
:return: interface the provided network is linked to
|
||||
"""
|
||||
for netif in self.netifs():
|
||||
if getattr(netif, "othernet", None) == net:
|
||||
if netif.othernet == net:
|
||||
return netif
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue