updates to log exceptions during threadpool, avoid errors when hwaddr is None during EMANE scenarios
This commit is contained in:
parent
7e50dbdc65
commit
d1c95a468a
2 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,8 @@ class CoreInterface:
|
|||
:param str addr: hardware address to set to.
|
||||
:return: nothing
|
||||
"""
|
||||
addr = utils.validate_mac(addr)
|
||||
if addr is not None:
|
||||
addr = utils.validate_mac(addr)
|
||||
self.hwaddr = addr
|
||||
|
||||
def getparam(self, key: str) -> float:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue