summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/host.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2016-08-23 18:37:20 +0200
committerMarcin Siodelski <marcin@isc.org>2016-08-23 18:37:20 +0200
commit0e1da5a732d631e57a8db90b9bfcc3fa728ef38a (patch)
tree4bc7406449c8b201544dea124d5348b4f5b8e51f /src/lib/dhcpsrv/host.h
parent[4552] MySQL backend now supports storing siaddr, sname and file. (diff)
downloadkea-0e1da5a732d631e57a8db90b9bfcc3fa728ef38a.tar.xz
kea-0e1da5a732d631e57a8db90b9bfcc3fa728ef38a.zip
[4552] Storing siaddr, sname and file in PostgreSQL database.
Diffstat (limited to 'src/lib/dhcpsrv/host.h')
-rw-r--r--src/lib/dhcpsrv/host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/host.h b/src/lib/dhcpsrv/host.h
index d09c181ed8..5a912346d1 100644
--- a/src/lib/dhcpsrv/host.h
+++ b/src/lib/dhcpsrv/host.h
@@ -482,7 +482,7 @@ public:
}
/// @brief Returns value of server hostname (sname).
- std::string getServerHostname() const {
+ const std::string& getServerHostname() const {
return (server_host_name_);
}
@@ -494,7 +494,7 @@ public:
}
/// @brief Returns value of boot file name (file).
- std::string getBootFileName() const {
+ const std::string& getBootFileName() const {
return (boot_file_name_);
}