Merge pull request #137 from jantman/issues/29

fixes #29 - change all sent/recv counters from int32 to int64 to prevent wraparound
This commit is contained in:
Arnout Engelen
2017-08-27 16:54:43 +02:00
committed by GitHub
7 changed files with 26 additions and 26 deletions

View File

@@ -24,8 +24,8 @@ typedef struct NethogsMonitorRecord {
int pid;
uint32_t uid;
const char *device_name;
uint32_t sent_bytes;
uint32_t recv_bytes;
uint64_t sent_bytes;
uint64_t recv_bytes;
float sent_kbs;
float recv_kbs;
} NethogsMonitorRecord;