fix improper EMANE version detection when stopping/starting sessions

(Boeing r1885)
This commit is contained in:
ahrenholz 2014-09-30 14:52:13 +00:00
parent 5359ff4fd4
commit 7f05bcd94a

View file

@ -256,6 +256,8 @@ class Emane(ConfigurableManager):
self.addobj(obj) self.addobj(obj)
if len(self._objs) == 0: if len(self._objs) == 0:
return Emane.NOT_NEEDED return Emane.NOT_NEEDED
if self.versionstr == "":
self.detectversion()
# control network bridge required for EMANE 0.9.2 # control network bridge required for EMANE 0.9.2
# - needs to be configured before checkdistributed() for distributed # - needs to be configured before checkdistributed() for distributed
# - needs to exist when eventservice binds to it (initeventservice) # - needs to exist when eventservice binds to it (initeventservice)