aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-12 22:37:48 +0100
committerJustin Clark-Casey (justincc)2012-07-12 22:37:48 +0100
commit6a0de355e09c264ce3f9e2c7db0b69919794e30c (patch)
tree9112cc80e4a7ad529b1857b461484c1d0bcbfa5f
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-6a0de355e09c264ce3f9e2c7db0b69919794e30c.zip
opensim-SC_OLD-6a0de355e09c264ce3f9e2c7db0b69919794e30c.tar.gz
opensim-SC_OLD-6a0de355e09c264ce3f9e2c7db0b69919794e30c.tar.bz2
opensim-SC_OLD-6a0de355e09c264ce3f9e2c7db0b69919794e30c.tar.xz
Add active status to "show connections"
-rw-r--r--OpenSim/Region/Application/OpenSim.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index f3e4a2d..e980716 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -1127,10 +1127,16 @@ namespace OpenSim
1127 cdt.AddColumn("Avatar name", 25); 1127 cdt.AddColumn("Avatar name", 25);
1128 cdt.AddColumn("Remote endpoint", 23); 1128 cdt.AddColumn("Remote endpoint", 23);
1129 cdt.AddColumn("Circuit number", 14); 1129 cdt.AddColumn("Circuit number", 14);
1130 cdt.AddColumn("Active?", 7);
1130 1131
1131 m_sceneManager.ForEachScene( 1132 m_sceneManager.ForEachScene(
1132 s => s.ForEachClient( 1133 s => s.ForEachClient(
1133 c => cdt.AddRow(s.RegionInfo.RegionName, c.Name, c.RemoteEndPoint.ToString(), c.CircuitCode.ToString()))); 1134 c => cdt.AddRow(
1135 s.RegionInfo.RegionName,
1136 c.Name,
1137 c.RemoteEndPoint.ToString(),
1138 c.CircuitCode.ToString(),
1139 c.IsActive.ToString())));
1134 1140
1135 MainConsole.Instance.Output(cdt.ToString()); 1141 MainConsole.Instance.Output(cdt.ToString());
1136 } 1142 }