]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4626] methods reordered
authorTomek Mrugalski <tomasz@isc.org>
Thu, 25 Aug 2016 14:54:40 +0000 (16:54 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 25 Aug 2016 14:54:40 +0000 (16:54 +0200)
src/lib/dhcpsrv/client_class_def.h

index 82084aded11c77ae3b6bf192e7c97ea31e95033e..51fb7e2544f8a2aa3da823ece47cb5d3330992aa 100644 (file)
@@ -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 {