git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ns-3 wifi example examples/linux/ns3/wifi_ping.py
[nepi.git]
/
src
/
nepi
/
resources
/
ns3
/
ns3wrapper.py
diff --git
a/src/nepi/resources/ns3/ns3wrapper.py
b/src/nepi/resources/ns3/ns3wrapper.py
index
0e95a2b
..
58da68e
100644
(file)
--- a/
src/nepi/resources/ns3/ns3wrapper.py
+++ b/
src/nepi/resources/ns3/ns3wrapper.py
@@
-174,7
+174,7
@@
class NS3Wrapper(object):
@property
def is_running(self):
@property
def is_running(self):
- return self._started and self.ns3.Simulator.IsFinished()
+ return self._started and
not
self.ns3.Simulator.IsFinished()
def make_uuid(self):
return "uuid%s" % uuid.uuid4()
def make_uuid(self):
return "uuid%s" % uuid.uuid4()