diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 22 |
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 | } |