fix two exceptions when using ns2 scripted mobility along with SDT3D

(Boeing r1813)
This commit is contained in:
ahrenholz 2013-12-16 23:29:27 +00:00
parent 9e955d22f0
commit c635c54a3a
2 changed files with 2 additions and 2 deletions

View file

@ -331,6 +331,6 @@ class Sdt(object):
n = self.session.obj(nodenum)
except KeyError:
return False
if isinstance(n, (pycore.nodes.WlanNode, pycore.nodes.EmaneNode)):
if isinstance(n, (nodes.WlanNode, nodes.EmaneNode)):
return True
return False