From dba5f31b8d0dcc3e5b9e35746cba2fbb36fd22a0 Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Thu, 5 Sep 2013 17:32:50 +0000 Subject: [PATCH] (Boeing r1766) fix bug where TunnelNodes not included in boot count, session doesn't enter the RUNTIME state --- daemon/core/session.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/core/session.py b/daemon/core/session.py index f0608e45..edc3a0e9 100644 --- a/daemon/core/session.py +++ b/daemon/core/session.py @@ -610,7 +610,8 @@ class Session(object): # on Linux, GreTapBridges are auto-created, not part of GUI's # node count if 'GreTapBridge' in globals(): - if isinstance(obj, GreTapBridge): + if isinstance(obj, GreTapBridge) and \ + not isinstance(obj, nodes.TunnelNode): continue nc += 1 # count booted nodes not emulated on this server