From aabe0de79d76b5424e3cca62433d28d8712917e0 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Sun, 8 May 2016 19:51:45 +0200 Subject: [PATCH] mpLinkCharacteristics: avoid strange behavior with netem and its limit --- src/mpLinkCharacteristics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpLinkCharacteristics.py b/src/mpLinkCharacteristics.py index ac99673..5b23071 100644 --- a/src/mpLinkCharacteristics.py +++ b/src/mpLinkCharacteristics.py @@ -46,7 +46,7 @@ class MpLinkCharacteristics: cmd = cmd + " burst " + str(int(self.queueSize) * 1500) + ") && " cmd = cmd + " tc qdisc add dev " + ifname + " " cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemHandle - cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms && " + cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms limit " + self.queueSize + " && " cmd = cmd + " true &" return cmd