summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/stats_mgr.cc
diff options
context:
space:
mode:
authorWlodek Wencel <wlodek@isc.org>2019-11-19 13:36:48 +0100
committerTomek Mrugalski <tomasz@isc.org>2019-11-20 07:52:57 +0100
commit9fb8b373e6bf9036f3937a456bd8f15347009b12 (patch)
treec4fee959f5a74fbc8b4d8168c5845cc25f7d5a2b /src/bin/perfdhcp/stats_mgr.cc
parent[985-relax-timings-in-new-config-backend-pull-unit-tests] Relaxed timings and... (diff)
downloadkea-9fb8b373e6bf9036f3937a456bd8f15347009b12.tar.xz
kea-9fb8b373e6bf9036f3937a456bd8f15347009b12.zip
[#572] perfdhcp counting rejected leases
Diffstat (limited to 'src/bin/perfdhcp/stats_mgr.cc')
-rw-r--r--src/bin/perfdhcp/stats_mgr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/perfdhcp/stats_mgr.cc b/src/bin/perfdhcp/stats_mgr.cc
index 056b9c045f..19109fc40d 100644
--- a/src/bin/perfdhcp/stats_mgr.cc
+++ b/src/bin/perfdhcp/stats_mgr.cc
@@ -54,12 +54,12 @@ ExchangeStats::ExchangeStats(const ExchangeType xchg_type,
ordered_lookups_(0),
sent_packets_num_(0),
rcvd_packets_num_(0),
+ rejected_leases_num_(0),
boot_time_(boot_time)
{
next_sent_ = sent_packets_.begin();
}
-
void
ExchangeStats::updateDelays(const dhcp::PktPtr& sent_packet,
const dhcp::PktPtr& rcvd_packet) {