correct list for netem Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
parent
78e71c7598
commit
9f3e42d41e
@ -27,7 +27,9 @@ class MpParamTopo(MpParam):
|
||||
i = int(k[len(MpParamTopo.netemAt):])
|
||||
val = self.paramDic[k]
|
||||
if not isinstance(val, list):
|
||||
val = list(val)
|
||||
tmp = val
|
||||
val = []
|
||||
val.append(tmp)
|
||||
self.loadNetemAtList(i, val)
|
||||
|
||||
def loadNetemAtList(self, id, nlist):
|
||||
|
Loading…
Reference in New Issue
Block a user