From ef509e87a3284ebac25e0a8b066b93693670999f Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Fri, 3 Jul 2020 16:50:10 +0200 Subject: [PATCH] fixes issue with daemon command --- core/topo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/topo.py b/core/topo.py index 2a371c3..6ecb48f 100644 --- a/core/topo.py +++ b/core/topo.py @@ -114,7 +114,7 @@ class LinkCharacteristics(object): def build_changing_policing_cmd(self, ifname): return "&& ".join( - ["sleep {} && {} ".format( + ["sleep {} && ({}) ".format( n.delta, self.build_policing_cmd(ifname, change=True)) for n in self.netem_at] + ["true &"] )