summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/cfg_subnets4.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2017-09-19 15:24:01 +0200
committerTomek Mrugalski <tomasz@isc.org>2017-09-19 15:24:01 +0200
commit9079ba125eb36f8c88f32ae8248f46e96179b7b8 (patch)
tree4803c2f8123b949befaf896a4ee17e4608b175bb /src/lib/dhcpsrv/cfg_subnets4.cc
parent[5306] Created unit test for shared network selection based on classes. (diff)
downloadkea-9079ba125eb36f8c88f32ae8248f46e96179b7b8.tar.xz
kea-9079ba125eb36f8c88f32ae8248f46e96179b7b8.zip
[5306] Changes after review:
- max attempts set to 0 in unit-tests (matching production code) - couple typos - new unit-test added (selectSharedNetworkByRelayAddressSubnetLevel) - ClientContext4 is now noncopyable - unused network parameter removed
Diffstat (limited to 'src/lib/dhcpsrv/cfg_subnets4.cc')
-rw-r--r--src/lib/dhcpsrv/cfg_subnets4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/cfg_subnets4.cc b/src/lib/dhcpsrv/cfg_subnets4.cc
index 001e6981b7..e4aa7bf578 100644
--- a/src/lib/dhcpsrv/cfg_subnets4.cc
+++ b/src/lib/dhcpsrv/cfg_subnets4.cc
@@ -128,7 +128,7 @@ CfgSubnets4::selectSubnet(const SubnetSelector& selector) const {
for (Subnet4Collection::const_iterator subnet = subnets_.begin();
subnet != subnets_.end(); ++subnet) {
- // If relay information specified for this subnet it must match.
+ // If relay information is specified for this subnet, it must match.
// Otherwise, we ignore this subnet.
if (!(*subnet)->getRelayInfo().addr_.isV4Zero()) {
if (selector.giaddr_ != (*subnet)->getRelayInfo().addr_) {