fixes issue with daemon command
This commit is contained in:
parent
8f1739920f
commit
ef509e87a3
@ -114,7 +114,7 @@ class LinkCharacteristics(object):
|
|||||||
|
|
||||||
def build_changing_policing_cmd(self, ifname):
|
def build_changing_policing_cmd(self, ifname):
|
||||||
return "&& ".join(
|
return "&& ".join(
|
||||||
["sleep {} && {} ".format(
|
["sleep {} && ({}) ".format(
|
||||||
n.delta, self.build_policing_cmd(ifname, change=True)) for n in self.netem_at]
|
n.delta, self.build_policing_cmd(ifname, change=True)) for n in self.netem_at]
|
||||||
+ ["true &"]
|
+ ["true &"]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user