mirror of
https://github.com/znc/znc.git
synced 2026-08-01 22:43:05 +02:00
Add traffic stats to listsockets webadmin table
Table is not displaying, however. Odd.
This commit is contained in:
@@ -118,7 +118,8 @@ public:
|
||||
Row["SSL"] = pSocket->GetSSL() ? "Yes" : "No";
|
||||
Row["Local"] = GetLocalHost(pSocket, true);
|
||||
Row["Remote"] = GetRemoteHost(pSocket, true);
|
||||
// TODO: Traffic stats
|
||||
Row["In"] = CString::ToByteStr(pSocket->GetBytesRead());
|
||||
Row["Out"] = CString::ToByteStr(pSocket->GetBytesWritten());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user