added unit tests to help check new utils functions and usages within nodes for adding addresses and macs
This commit is contained in:
parent
834ceea55d
commit
7028d3e78f
3 changed files with 93 additions and 1 deletions
|
@ -800,7 +800,7 @@ class CoreNode(CoreNodeBase):
|
|||
|
||||
with self.lock:
|
||||
# TODO: emane specific code
|
||||
if net.is_emane is True:
|
||||
if net is not None and net.is_emane is True:
|
||||
ifindex = self.newtuntap(ifindex, ifname)
|
||||
# TUN/TAP is not ready for addressing yet; the device may
|
||||
# take some time to appear, and installing it into a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue