mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fixed ack tracking which could overflow quickly in some situations.
- Problem presented itself through incorrect results in capture-loss.bro under odd traffic circumstances (exact circumstances unknown). - Changed variables involved in ack tracking to all be uint64 values.
This commit is contained in:
parent
e754590046
commit
b6bd849018
3 changed files with 16 additions and 16 deletions
|
@ -12,10 +12,10 @@
|
|||
|
||||
int killed_by_inactivity = 0;
|
||||
|
||||
uint32 tot_ack_events = 0;
|
||||
uint32 tot_ack_bytes = 0;
|
||||
uint32 tot_gap_events = 0;
|
||||
uint32 tot_gap_bytes = 0;
|
||||
uint64 tot_ack_events = 0;
|
||||
uint64 tot_ack_bytes = 0;
|
||||
uint64 tot_gap_events = 0;
|
||||
uint64 tot_gap_bytes = 0;
|
||||
|
||||
|
||||
class ProfileTimer : public Timer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue