summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/alloc_engine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcpsrv/alloc_engine.cc')
-rw-r--r--src/lib/dhcpsrv/alloc_engine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/alloc_engine.cc b/src/lib/dhcpsrv/alloc_engine.cc
index a10c0c5437..a74eca9415 100644
--- a/src/lib/dhcpsrv/alloc_engine.cc
+++ b/src/lib/dhcpsrv/alloc_engine.cc
@@ -5066,7 +5066,7 @@ AllocEngine::updateLease6ExtendedInfo(const Lease6Ptr& lease,
LibDHCP::packOptions6(buf, relay.options_);
if (buf.getLength() > 0) {
- const uint8_t* cp = static_cast<const uint8_t*>(buf.getData());
+ const uint8_t* cp = buf.getData();
std::vector<uint8_t> bytes;
std::stringstream ss;