Add active status to "show connections"

0.7.3-extended
Justin Clark-Casey (justincc) 2012-07-12 22:37:48 +01:00
parent 523d03fb76
commit f660a25fa7
1 changed files with 7 additions and 1 deletions

View File

@ -1105,10 +1105,16 @@ namespace OpenSim
cdt.AddColumn("Avatar name", 25); cdt.AddColumn("Avatar name", 25);
cdt.AddColumn("Remote endpoint", 23); cdt.AddColumn("Remote endpoint", 23);
cdt.AddColumn("Circuit number", 14); cdt.AddColumn("Circuit number", 14);
cdt.AddColumn("Active?", 7);
m_sceneManager.ForEachScene( m_sceneManager.ForEachScene(
s => s.ForEachClient( 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()); MainConsole.Instance.Output(cdt.ToString());
} }