mpLinkCharacteristics: fix netem command

Because no loss
This commit is contained in:
Quentin De Coninck 2016-04-19 10:15:16 +02:00
parent 3b5007f49c
commit 377decd5b0

View File

@ -36,7 +36,7 @@ class MpLinkCharacteristics:
cmd = cmd + " tc qdisc change dev " + ifname + " " cmd = cmd + " tc qdisc change dev " + ifname + " "
cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemParent cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemParent
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
cmd = cmd + " netem " + n.cmd + "delay " + self.delay cmd = cmd + " netem " + n.cmd + " delay " + self.delay
cmd = cmd + " rate " + self.bandwidth + "mbit && " cmd = cmd + " rate " + self.bandwidth + "mbit && "
cmd = cmd + " true &" cmd = cmd + " true &"
return cmd return cmd