summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2016-08-25 16:54:40 +0200
committerTomek Mrugalski <tomasz@isc.org>2016-08-25 16:54:40 +0200
commitcee3a439b5064f3343ed90a4843e89ad424ef9da (patch)
tree93fa2a2b1424568fb12ea660117f2aed6fa83180
parent[4626] Changes after review (diff)
downloadkea-cee3a439b5064f3343ed90a4843e89ad424ef9da.tar.xz
kea-cee3a439b5064f3343ed90a4843e89ad424ef9da.zip
[4626] methods reordered
-rw-r--r--src/lib/dhcpsrv/client_class_def.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/dhcpsrv/client_class_def.h b/src/lib/dhcpsrv/client_class_def.h
index 82084aded1..51fb7e2544 100644
--- a/src/lib/dhcpsrv/client_class_def.h
+++ b/src/lib/dhcpsrv/client_class_def.h
@@ -126,6 +126,12 @@ public:
sname_ = sname;
}
+ /// @brief returns server-hostname value
+ /// @return the vector that contains server-hostname (may be empty if not defined)
+ const std::string& getSname() const {
+ return (sname_);
+ }
+
/// @brief sets the boot-file-name value
///
/// @param filename the value to be set
@@ -133,12 +139,6 @@ public:
filename_ = filename;
}
- /// @brief returns server-hostname value
- /// @return the vector that contains server-hostname (may be empty if not defined)
- const std::string& getSname() const {
- return (sname_);
- }
-
/// @brief returns boot-file-name value
/// @return the vector that contains boot-file-name (may be empty if not defined)
const std::string& getFilename() const {