summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/pkt_transform.cc
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2018-12-07 15:33:42 +0100
committerMichal Nowikowski <godfryd@isc.org>2019-01-18 10:05:12 +0100
commit9b225b8619d1e4682713166ae937bf4be3ae12ae (patch)
treeb364140dfe880f1a003adc6e15b8ebbcb6905e4a /src/bin/perfdhcp/pkt_transform.cc
parent[283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Fixed lib d... (diff)
downloadkea-9b225b8619d1e4682713166ae937bf4be3ae12ae.tar.xz
kea-9b225b8619d1e4682713166ae937bf4be3ae12ae.zip
changes after review
- added usleep to main loop in run function when nothing is to be done to not overload CPU - changed includes to use <...> - changed socket desctructor to be virtual - updated docs - changed rate type to unsigned - other minor fixes
Diffstat (limited to 'src/bin/perfdhcp/pkt_transform.cc')
-rw-r--r--src/bin/perfdhcp/pkt_transform.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/perfdhcp/pkt_transform.cc b/src/bin/perfdhcp/pkt_transform.cc
index d9588b1a65..fad8d1cbd1 100644
--- a/src/bin/perfdhcp/pkt_transform.cc
+++ b/src/bin/perfdhcp/pkt_transform.cc
@@ -6,15 +6,16 @@
#include <config.h>
-#include <iostream>
+#include <perfdhcp/pkt_transform.h>
+#include <perfdhcp/localized_option.h>
#include <exceptions/exceptions.h>
#include <dhcp/option.h>
#include <dhcp/libdhcp++.h>
#include <dhcp/dhcp6.h>
-#include "pkt_transform.h"
-#include "localized_option.h"
+#include <iostream>
+
using namespace std;
using namespace isc;