added othernet to CoreInterface to avoid hasattr checks

This commit is contained in:
Blake Harnden 2020-05-23 01:14:47 -07:00
parent c580e15f8e
commit 964f78f06a
3 changed files with 4 additions and 3 deletions

View file

@ -51,6 +51,7 @@ class CoreInterface:
raise ValueError
self.mtu = mtu
self.net = None
self.othernet = None
self._params = {}
self.addrlist = []
self.hwaddr = None