added othernet to CoreInterface to avoid hasattr checks
This commit is contained in:
parent
c580e15f8e
commit
964f78f06a
3 changed files with 4 additions and 3 deletions
|
@ -51,6 +51,7 @@ class CoreInterface:
|
|||
raise ValueError
|
||||
self.mtu = mtu
|
||||
self.net = None
|
||||
self.othernet = None
|
||||
self._params = {}
|
||||
self.addrlist = []
|
||||
self.hwaddr = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue