Skip to content

Commit

Permalink
Merge pull request #115 from nickbroon/hash_stats
Browse files Browse the repository at this point in the history
statEmptyBuckets should be initialized with the number of buckets in the hashtable
  • Loading branch information
ogasser authored Sep 10, 2018
2 parents d6d61c5 + 7b6f48f commit 26d4864
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 26d4864

Please sign in to comment.