X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/50769b45008e7da2cce41d918ec2f0fd5204fe46..0f19bfa8a0c452238245c405e278a630a6c2ac15:/include/user_stat.h?ds=inline

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()