summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 4bb8cf26e..b63106588 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -110,12 +110,16 @@ class TreeServer
this->SetNextPingTime(time(NULL) + 60);
this->SetPingFlag();
+ log(DEBUG,"*** CREATE NEW SERVER %s",Name.c_str());
+
// find the 'route' for this server (e.g. the one directly connected
// to the local server, which we can use to reach it)
Route = Above;
if (Route != TreeRoot)
while (Route->GetParent() != TreeRoot)
Route = Route->GetParent();
+
+ log(DEBUG," ROUTE FOR %s is %s",Name.c_str(),Route->GetName().c_str());
}
TreeServer* GetRoute()