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:
Benjamin Hesmans 2015-01-20 10:49:34 -08:00
parent 78e71c7598
commit 9f3e42d41e

View File

@ -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):