diff options
author | Francis Dupont <fdupont@isc.org> | 2019-09-30 15:33:57 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-10-15 11:45:32 +0200 |
commit | f5ce317a12cee51158e5d22c9b10ab053a197bf4 (patch) | |
tree | a7c89341680a57d520e5dbe1c26f4cbfd8ab40fc /src/lib/dhcpsrv/cfg_hosts.cc | |
parent | [392-search-of-reservations-by-hostname] Checkpoint: updated shcemas, todo tests (diff) | |
download | kea-f5ce317a12cee51158e5d22c9b10ab053a197bf4.tar.xz kea-f5ce317a12cee51158e5d22c9b10ab053a197bf4.zip |
[392-search-of-reservations-by-hostname] Checkpoint: did tests, todo doc and hook
Diffstat (limited to 'src/lib/dhcpsrv/cfg_hosts.cc')
-rw-r--r-- | src/lib/dhcpsrv/cfg_hosts.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.cc b/src/lib/dhcpsrv/cfg_hosts.cc index f93467665c..5ec8407f67 100644 --- a/src/lib/dhcpsrv/cfg_hosts.cc +++ b/src/lib/dhcpsrv/cfg_hosts.cc @@ -367,7 +367,8 @@ CfgHosts::getAllbyHostnameInternal4(const std::string& hostname, LOG_DEBUG(hosts_logger, HOSTS_DBG_TRACE, HOSTS_CFG_GET_ALL_HOSTNAME_SUBNET_ID4) - .arg(hostname); + .arg(hostname) + .arg(subnet_id); // Use try hostname. const HostContainerIndex5& idx = hosts_.get<5>(); @@ -403,7 +404,8 @@ CfgHosts::getAllbyHostnameInternal6(const std::string& hostname, LOG_DEBUG(hosts_logger, HOSTS_DBG_TRACE, HOSTS_CFG_GET_ALL_HOSTNAME_SUBNET_ID6) - .arg(hostname); + .arg(hostname) + .arg(subnet_id); // Use try hostname. const HostContainerIndex5& idx = hosts_.get<5>(); |