Use 64bit counters for accounting
Otherwise with 5-minute reporting we overflow with >= ~100Mbps. Fixes #12
This commit is contained in:
parent
7c715f16fc
commit
31dedbbe66
4 changed files with 151 additions and 10 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#define C_MPPP_FORWARD 19 // MPPP Forwarded packet..
|
||||
#define C_PPPOE_FORWARD 20 // PPPOE Forwarded packet..
|
||||
|
||||
#define HB_VERSION 9 // Protocol version number..
|
||||
#define HB_VERSION 10 // Protocol version number..
|
||||
#define HB_MAX_SEQ (1<<30) // Maximum sequence number. (MUST BE A POWER OF 2!)
|
||||
#define HB_HISTORY_SIZE 64 // How many old heartbeats we remember?? (Must be a factor of HB_MAX_SEQ)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue