Skip to content

Commit

Permalink
statEmptyBuckets should be initialized with the number of buckets in …
Browse files Browse the repository at this point in the history
…the hashtable
  • Loading branch information
nickbroon committed Sep 10, 2018
1 parent be70d52 commit 7b6f48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ipfix/aggregator/BaseHashtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ BaseHashtable::BaseHashtable(Source<IpfixRecord*>* recordsource, Rule* rule,
statRecordsReceived(0),
statRecordsSent(0),
statTotalEntries(0),
statEmptyBuckets(0),
statEmptyBuckets(htableSize),
statExportedBuckets(0),
statLastExpBuckets(0),
statMultiEntries(0),
Expand Down

0 comments on commit 7b6f48f

Please sign in to comment.