|
@@ -27,7 +27,7 @@ void statistics_db::writeStatisticsIP(std::unordered_map<std::string, entry_ipSt
|
|
SQLite::Transaction transaction(*db);
|
|
SQLite::Transaction transaction(*db);
|
|
const char *createTable = "CREATE TABLE ip_statistics ( "
|
|
const char *createTable = "CREATE TABLE ip_statistics ( "
|
|
"ipAddress TEXT, "
|
|
"ipAddress TEXT, "
|
|
- "pktsReceived INTEGtimestampER, "
|
|
|
|
|
|
+ "pktsReceived INTEGER, "
|
|
"pktsSent INTEGER, "
|
|
"pktsSent INTEGER, "
|
|
"kbytesReceived REAL, "
|
|
"kbytesReceived REAL, "
|
|
"kbytesSent REAL, "
|
|
"kbytesSent REAL, "
|