aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2014-08-14 21:05:17 +0100
committerUbitUmarov2014-08-14 21:05:17 +0100
commit538a95ff1e93c6266bb2c269e9f92a5cb7dce10e (patch)
treef3b925e0ee62869c9310373f28670f41bebcfee6
parentreduce ping filter time constant (diff)
downloadopensim-SC-538a95ff1e93c6266bb2c269e9f92a5cb7dce10e.zip
opensim-SC-538a95ff1e93c6266bb2c269e9f92a5cb7dce10e.tar.gz
opensim-SC-538a95ff1e93c6266bb2c269e9f92a5cb7dce10e.tar.bz2
opensim-SC-538a95ff1e93c6266bb2c269e9f92a5cb7dce10e.tar.xz
in show connections show also if it is a childagent connection
-rw-r--r--OpenSim/Region/Application/OpenSim.cs22
1 files changed, 15 insertions, 7 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 13d8170..e1e3d87 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -978,17 +978,25 @@ namespace OpenSim
978 cdt.AddColumn("Circuit code", 12); 978 cdt.AddColumn("Circuit code", 12);
979 cdt.AddColumn("Endpoint", 23); 979 cdt.AddColumn("Endpoint", 23);
980 cdt.AddColumn("Active?", 7); 980 cdt.AddColumn("Active?", 7);
981 cdt.AddColumn("ChildAgent?", 7);
981 cdt.AddColumn("ping(ms)", 8); 982 cdt.AddColumn("ping(ms)", 8);
982 983
983 SceneManager.ForEachScene( 984 SceneManager.ForEachScene(
984 s => s.ForEachClient( 985 s => s.ForEachClient(
985 c => cdt.AddRow( 986 c =>
986 s.Name, 987 {
987 c.Name, 988 bool child = false;
988 c.CircuitCode.ToString(), 989 if(c.SceneAgent != null && c.SceneAgent.IsChildAgent)
989 c.RemoteEndPoint.ToString(), 990 child = true;
990 c.IsActive.ToString(), 991 cdt.AddRow(
991 c.PingTimeMS))); 992 s.Name,
993 c.Name,
994 c.CircuitCode.ToString(),
995 c.RemoteEndPoint.ToString(),
996 c.IsActive.ToString(),
997 child.ToString(),
998 c.PingTimeMS);
999 }));
992 1000
993 MainConsole.Instance.Output(cdt.ToString()); 1001 MainConsole.Instance.Output(cdt.ToString());
994 } 1002 }