summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/host.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2015-12-04 21:33:23 +0100
committerTomek Mrugalski <tomasz@isc.org>2015-12-04 21:33:23 +0100
commit3d0bf8b178385c5edb1babd471888fd545b73d2e (patch)
tree7fd7efe4664bbdefa819d1c707a7a6f530e07628 /src/lib/dhcpsrv/host.cc
parent[v1_0_0b] reorder .mes files (diff)
downloadkea-3d0bf8b178385c5edb1babd471888fd545b73d2e.tar.xz
kea-3d0bf8b178385c5edb1babd471888fd545b73d2e.zip
[4212] HostID implemented.
Diffstat (limited to 'src/lib/dhcpsrv/host.cc')
-rw-r--r--src/lib/dhcpsrv/host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/host.cc b/src/lib/dhcpsrv/host.cc
index 43efb86299..4ab549fd18 100644
--- a/src/lib/dhcpsrv/host.cc
+++ b/src/lib/dhcpsrv/host.cc
@@ -86,7 +86,7 @@ Host::Host(const uint8_t* identifier, const size_t identifier_len,
ipv6_subnet_id_(ipv6_subnet_id),
ipv4_reservation_(asiolink::IOAddress::IPV4_ZERO_ADDRESS()),
hostname_(hostname), dhcp4_client_classes_(dhcp4_client_classes),
- dhcp6_client_classes_(dhcp6_client_classes) {
+ dhcp6_client_classes_(dhcp6_client_classes), host_id_(0) {
// Initialize HWAddr or DUID
setIdentifier(identifier, identifier_len, identifier_type);
@@ -107,7 +107,7 @@ Host::Host(const std::string& identifier, const std::string& identifier_name,
ipv6_subnet_id_(ipv6_subnet_id),
ipv4_reservation_(asiolink::IOAddress::IPV4_ZERO_ADDRESS()),
hostname_(hostname), dhcp4_client_classes_(dhcp4_client_classes),
- dhcp6_client_classes_(dhcp6_client_classes) {
+ dhcp6_client_classes_(dhcp6_client_classes), host_id_(0) {
// Initialize HWAddr or DUID
setIdentifier(identifier, identifier_name);