summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/cfg_hosts.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2015-02-03 17:44:29 +0100
committerTomek Mrugalski <tomasz@isc.org>2015-02-03 17:44:29 +0100
commit37cb45c2decd8d2bd864fdcfc9c1094eb5e4e7ed (patch)
treead7eb370f6d06906d642981d80386a330ef795e5 /src/lib/dhcpsrv/cfg_hosts.cc
parent[3563] Capitalizations corrected, new unit-test for AllocEngine added. (diff)
downloadkea-37cb45c2decd8d2bd864fdcfc9c1094eb5e4e7ed.tar.xz
kea-37cb45c2decd8d2bd864fdcfc9c1094eb5e4e7ed.zip
[3563] Copyright years updated, minor cosmetics.
Diffstat (limited to 'src/lib/dhcpsrv/cfg_hosts.cc')
-rw-r--r--src/lib/dhcpsrv/cfg_hosts.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.cc b/src/lib/dhcpsrv/cfg_hosts.cc
index 2b8659324e..583600c9f5 100644
--- a/src/lib/dhcpsrv/cfg_hosts.cc
+++ b/src/lib/dhcpsrv/cfg_hosts.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
@@ -120,7 +120,7 @@ CfgHosts::getAllInternal6(const IOAddress& address, Storage& storage) const {
isc_throw(BadHostAddress, "must specify an IPv6 address when searching"
" for a host, specified address was " << address);
}
- // Search for the Host using the reserved IPv4 address as a key.
+ // Search for the Host using the reserved IPv6 address as a key.
const HostContainerIndex1& idx = hosts_.get<1>();
HostContainerIndex1Range r = idx.equal_range(address);
// Append each Host object to the storage.