summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp4
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-01-25 19:18:43 +0100
committerAndrei Pavel <andrei@isc.org>2022-01-25 19:18:43 +0100
commite5d87e4f2fa3355a9896a9ea0799a9b4d93aea0e (patch)
tree4b323bdefa9502a3901faae18f29ba4b71bc3470 /src/bin/dhcp4
parent[#2290] release changes (diff)
downloadkea-Kea-2.1.2.tar.xz
kea-Kea-2.1.2.zip
[#2290] release changesKea-2.1.2
Diffstat (limited to 'src/bin/dhcp4')
-rw-r--r--src/bin/dhcp4/dhcp4_srv.cc2
-rw-r--r--src/bin/dhcp4/tests/vendor_opts_unittest.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc
index 5132a443ea..7df4010255 100644
--- a/src/bin/dhcp4/dhcp4_srv.cc
+++ b/src/bin/dhcp4/dhcp4_srv.cc
@@ -2105,7 +2105,7 @@ Dhcpv4Srv::processHostnameOption(Dhcpv4Exchange& ex) {
// i.e. DDNS configuration. If we have a reserved hostname we should
// use it and send it back.
if (ctx->currentHost() && !ctx->currentHost()->getHostname().empty()) {
- // Qualify if there is an a suffix configured.
+ // Qualify if there is a suffix configured.
std::string hostname = d2_mgr.qualifyName(ctx->currentHost()->getHostname(),
*(ex.getContext()->getDdnsParams()), false);
// Convert it to lower case.
diff --git a/src/bin/dhcp4/tests/vendor_opts_unittest.cc b/src/bin/dhcp4/tests/vendor_opts_unittest.cc
index c1106ca5cf..08f446d565 100644
--- a/src/bin/dhcp4/tests/vendor_opts_unittest.cc
+++ b/src/bin/dhcp4/tests/vendor_opts_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2022 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
@@ -1465,7 +1465,7 @@ TEST_F(VendorOptsTest, clientOption43RawClass) {
EXPECT_TRUE(client.getContext().response_);
}
-// Verifies that an a client query with a truncated length in
+// Verifies that a client query with a truncated length in
// vendor option (125) will still be processed by the server.
TEST_F(Dhcpv4SrvTest, truncatedVIVSOOption) {
NakedDhcpv4Srv srv(0);