From c2d961d0ac69db088913efd4bf2e0810fbc08b6e Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 27 Dec 2017 13:29:22 +0100 Subject: prototypes: Avoid warnings on autobind of non normal IPCPs Autobind was happening for all IPCPs, regardless if they were normal IPCPs or not. This fixes it so that it is only called for normal IPCPs, which avoids warnings in the logs. --- rumba/prototypes/ouroboros.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rumba/prototypes/ouroboros.py') diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py index 055ed43..2d92533 100644 --- a/rumba/prototypes/ouroboros.py +++ b/rumba/prototypes/ouroboros.py @@ -86,7 +86,7 @@ class Experiment(mod.Experiment): for ipcp in node.ipcps: cmds2 = list() if ipcp.dif_bootstrapper: - cmd = "irm i b n " + ipcp.name + " autobind" + cmd = "irm i b n " + ipcp.name else: cmd = "irm i c n " + ipcp.name @@ -99,7 +99,7 @@ class Experiment(mod.Experiment): elif isinstance(ipcp.dif, mod.NormalDIF): cmd += " type normal" if ipcp.dif_bootstrapper: - cmd += " layer " + ipcp.dif.name + cmd += " layer " + ipcp.dif.name + " autobind" cmd2 = "irm r n " + ipcp.name for dif_b in node.dif_registrations[ipcp.dif]: cmd2 += " layer " + dif_b.name -- cgit v1.2.3