diff options
author | Marcin Siodelski <marcin@isc.org> | 2016-09-01 15:37:24 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2016-09-01 16:35:56 +0200 |
commit | 24213920f8d60ff73eacbca213f3a5caee7aa971 (patch) | |
tree | 0b76754e71a209cfcc9a072e86377eb7419a4f18 /src/lib/dhcpsrv/cfg_hosts.cc | |
parent | [master] configure.ac version update (diff) | |
download | kea-24213920f8d60ff73eacbca213f3a5caee7aa971.tar.xz kea-24213920f8d60ff73eacbca213f3a5caee7aa971.zip |
[4765] Client classes in HR can be specified in configuration file.
Diffstat (limited to 'src/lib/dhcpsrv/cfg_hosts.cc')
-rw-r--r-- | src/lib/dhcpsrv/cfg_hosts.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.cc b/src/lib/dhcpsrv/cfg_hosts.cc index 748fd4d273..bc0c1167d2 100644 --- a/src/lib/dhcpsrv/cfg_hosts.cc +++ b/src/lib/dhcpsrv/cfg_hosts.cc @@ -580,7 +580,9 @@ CfgHosts::add4(const HostPtr& host) { host->getServerHostname().empty() && host->getBootFileName().empty() && host->getCfgOption4()->empty() && - host->getCfgOption6()->empty()) { + host->getCfgOption6()->empty() && + host->getClientClasses4().empty() && + host->getClientClasses6().empty()) { std::ostringstream s; if (hwaddr) { s << "for DUID: " << hwaddr->toText(); |