Add active status to "show connections"

0.7.4.1
Justin Clark-Casey (justincc) 2012-07-12 22:37:48 +01:00
parent 65a25ee510
commit 6a0de355e0
1 changed files with 7 additions and 1 deletions

View File

@ -1127,10 +1127,16 @@ namespace OpenSim
cdt.AddColumn("Avatar name", 25);
cdt.AddColumn("Remote endpoint", 23);
cdt.AddColumn("Circuit number", 14);
cdt.AddColumn("Active?", 7);
m_sceneManager.ForEachScene(
s => s.ForEachClient(
c => cdt.AddRow(s.RegionInfo.RegionName, c.Name, c.RemoteEndPoint.ToString(), c.CircuitCode.ToString())));
c => cdt.AddRow(
s.RegionInfo.RegionName,
c.Name,
c.RemoteEndPoint.ToString(),
c.CircuitCode.ToString(),
c.IsActive.ToString())));
MainConsole.Instance.Output(cdt.ToString());
}