summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/cfg_hosts.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-08-27 18:16:41 +0200
committerFrancis Dupont <fdupont@isc.org>2015-08-27 18:16:41 +0200
commite2129dd72dd6938f6311f139af49506fd1c736de (patch)
treed28df0e407410bb7491fd85b58fb0713203f7937 /src/lib/dhcpsrv/cfg_hosts.cc
parent[master] Updated git hash (diff)
downloadkea-e2129dd72dd6938f6311f139af49506fd1c736de.tar.xz
kea-e2129dd72dd6938f6311f139af49506fd1c736de.zip
[4024] Fixed c++11 detected errors
Diffstat (limited to 'src/lib/dhcpsrv/cfg_hosts.cc')
-rw-r--r--src/lib/dhcpsrv/cfg_hosts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.cc b/src/lib/dhcpsrv/cfg_hosts.cc
index c1dd769ece..dd5c2b7d4e 100644
--- a/src/lib/dhcpsrv/cfg_hosts.cc
+++ b/src/lib/dhcpsrv/cfg_hosts.cc
@@ -469,7 +469,7 @@ CfgHosts::add4(const HostPtr& host) {
} else if (duid) {
s << "for HW address: " << duid->toText();
}
- isc_throw(BadValue, "specified reservation " << s
+ isc_throw(BadValue, "specified reservation " << s.str()
<< " must include at least one resource, i.e. "
"hostname, IPv4 address or IPv6 address/prefix");
}