summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/host.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2017-04-24 19:51:06 +0200
committerTomek Mrugalski <tomasz@isc.org>2017-04-24 19:51:06 +0200
commita36a1365cc65289c47de287ae8676147aa99f46c (patch)
tree1ef6040802e2bef433447ddb2577126a4132fd44 /src/lib/dhcpsrv/host.cc
parent[5208] Multiple fixes as a result of review. (diff)
downloadkea-a36a1365cc65289c47de287ae8676147aa99f46c.tar.xz
kea-a36a1365cc65289c47de287ae8676147aa99f46c.zip
[5208a] new unit-test checks that v4,v6 options and v6 reservations are removed
Diffstat (limited to 'src/lib/dhcpsrv/host.cc')
-rw-r--r--src/lib/dhcpsrv/host.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/host.cc b/src/lib/dhcpsrv/host.cc
index 2ceb3d8d93..f342d89a89 100644
--- a/src/lib/dhcpsrv/host.cc
+++ b/src/lib/dhcpsrv/host.cc
@@ -407,8 +407,6 @@ Host::setBootFileName(const std::string& boot_file_name) {
ElementPtr
Host::toElement4() const {
- // Get the subnet ID
- SubnetID subnet_id = getIPv4SubnetID();
// Prepare the map
ElementPtr map = Element::createMap();
// Set the identifier
@@ -466,8 +464,6 @@ Host::toElement4() const {
ElementPtr
Host::toElement6() const {
- // Get the subnet ID
- SubnetID subnet_id = getIPv6SubnetID();
// Prepare the map
ElementPtr map = Element::createMap();
// Set the identifier