summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/srv_config.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2023-12-04 10:18:55 +0100
committerRazvan Becheriu <razvan@isc.org>2024-01-22 16:33:26 +0100
commit1eb9c75f3fd50c2da9fbef7e34f4638fa92d34d1 (patch)
treeb5bc4921c7557913251c7f70f068ab67682a522d /src/lib/dhcpsrv/srv_config.cc
parent[#3119] static cast time_t to uint32 (diff)
downloadkea-1eb9c75f3fd50c2da9fbef7e34f4638fa92d34d1.tar.xz
kea-1eb9c75f3fd50c2da9fbef7e34f4638fa92d34d1.zip
[#3119] Fixed some coverity reported defects
Diffstat (limited to 'src/lib/dhcpsrv/srv_config.cc')
-rw-r--r--src/lib/dhcpsrv/srv_config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/srv_config.cc b/src/lib/dhcpsrv/srv_config.cc
index 66cb9b2511..750b0797c9 100644
--- a/src/lib/dhcpsrv/srv_config.cc
+++ b/src/lib/dhcpsrv/srv_config.cc
@@ -333,7 +333,7 @@ SrvConfig::applyDefaultsConfiguredGlobals(const SimpleDefaults& defaults) {
const Element::Position pos("<default-value>", 0, 0);
// Let's go over all parameters we have defaults for.
- for (auto def_value : defaults) {
+ for (const auto& def_value : defaults) {
// Try if such a parameter is there. If it is, let's
// skip it, because user knows best *cough*.