diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 85049c9..e1e3d87 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -978,15 +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); | ||
982 | cdt.AddColumn("ping(ms)", 8); | ||
981 | 983 | ||
982 | SceneManager.ForEachScene( | 984 | SceneManager.ForEachScene( |
983 | s => s.ForEachClient( | 985 | s => s.ForEachClient( |
984 | c => cdt.AddRow( | 986 | c => |
985 | s.Name, | 987 | { |
986 | c.Name, | 988 | bool child = false; |
987 | c.CircuitCode.ToString(), | 989 | if(c.SceneAgent != null && c.SceneAgent.IsChildAgent) |
988 | c.RemoteEndPoint.ToString(), | 990 | child = true; |
989 | c.IsActive.ToString()))); | 991 | cdt.AddRow( |
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 | })); | ||
990 | 1000 | ||
991 | MainConsole.Instance.Output(cdt.ToString()); | 1001 | MainConsole.Instance.Output(cdt.ToString()); |
992 | } | 1002 | } |