diff options
author | Marcin Siodelski <marcin@isc.org> | 2016-03-09 13:20:16 +0100 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2016-03-09 13:22:45 +0100 |
commit | f45a71808d9b9f1ada833e9c7c1a230e9e21f7ae (patch) | |
tree | 07bb01bc94eb14da1afe997307724fae4a0f89b7 /src/lib/dhcpsrv/host.cc | |
parent | [master] Added ChangeLog entry for #3696. (diff) | |
download | kea-f45a71808d9b9f1ada833e9c7c1a230e9e21f7ae.tar.xz kea-f45a71808d9b9f1ada833e9c7c1a230e9e21f7ae.zip |
[3571] Added data structures to hold DHCP options in Host object.
Diffstat (limited to 'src/lib/dhcpsrv/host.cc')
-rw-r--r-- | src/lib/dhcpsrv/host.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/host.cc b/src/lib/dhcpsrv/host.cc index c336dc1eff..be6e8439b6 100644 --- a/src/lib/dhcpsrv/host.cc +++ b/src/lib/dhcpsrv/host.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -78,7 +78,8 @@ 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), + cfg_option4_(), cfg_option6_() { // Initialize HWAddr or DUID setIdentifier(identifier, identifier_len, identifier_type); @@ -99,7 +100,8 @@ 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), + cfg_option4_(new CfgOption()), cfg_option6_(new CfgOption()) { // Initialize HWAddr or DUID setIdentifier(identifier, identifier_name); |