in show connections show also if it is a childagent connection
parent
a46d6004df
commit
538a95ff1e
|
@ -978,17 +978,25 @@ namespace OpenSim
|
|||
cdt.AddColumn("Circuit code", 12);
|
||||
cdt.AddColumn("Endpoint", 23);
|
||||
cdt.AddColumn("Active?", 7);
|
||||
cdt.AddColumn("ChildAgent?", 7);
|
||||
cdt.AddColumn("ping(ms)", 8);
|
||||
|
||||
SceneManager.ForEachScene(
|
||||
s => s.ForEachClient(
|
||||
c => cdt.AddRow(
|
||||
c =>
|
||||
{
|
||||
bool child = false;
|
||||
if(c.SceneAgent != null && c.SceneAgent.IsChildAgent)
|
||||
child = true;
|
||||
cdt.AddRow(
|
||||
s.Name,
|
||||
c.Name,
|
||||
c.CircuitCode.ToString(),
|
||||
c.RemoteEndPoint.ToString(),
|
||||
c.IsActive.ToString(),
|
||||
c.PingTimeMS)));
|
||||
child.ToString(),
|
||||
c.PingTimeMS);
|
||||
}));
|
||||
|
||||
MainConsole.Instance.Output(cdt.ToString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue