Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Controller/NetTestController.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py
index f3cdc60..56649a3 100644
--- a/lnst/Controller/NetTestController.py
+++ b/lnst/Controller/NetTestController.py
@@ -401,8 +401,9 @@ class NetTestController:
if "from" in cmd_data:
cmd["from"] = cmd_data["from"]
elif cmd["type"] in ["wait", "intr",
"kill"]:
- # XXX The internal name (proc_id) is different, because
- # bg_id is already used by LNST in a different context
+ # 'proc_id' is used to store bg_id for wait/kill/intr
+ # 'bg_id' is used for test/exec
+ # this is used to distinguish between the two in NetTestSlave code
cmd["proc_id"] = cmd_data["bg_id"]
elif cmd["type"] == "config":
cmd["persistent"] = False
--
1.9.3
Show replies by date