From: Maxim Mamontov <faust@gts.dp.ua>
Date: Mon, 6 Dec 2010 14:06:01 +0000 (+0200)
Subject: Добавлен тип хранящий детальную статистику
X-Git-Tag: 2.407-rc3~347
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/0f19bfa8a0c452238245c405e278a630a6c2ac15?ds=sidebyside

Добавлен тип хранящий детальную статистику
---

diff --git a/include/user_stat.h b/include/user_stat.h
index eeb73df6..126c20f4 100644
--- a/include/user_stat.h
+++ b/include/user_stat.h
@@ -28,6 +28,7 @@
 #define USER_STAT_H
 
 #include <ctime>
+#include <map>
 
 #include "os_int.h"
 #include "resetable.h"
@@ -118,6 +119,8 @@ struct USER_STAT
     time_t      lastActivityTime;
 };
 //-----------------------------------------------------------------------------
+typedef std::map<IP_DIR_PAIR, STAT_NODE> TRAFF_STAT;
+//-----------------------------------------------------------------------------
 struct USER_STAT_RES
 {
     USER_STAT_RES()