Parcourir la source

[4626] methods reordered

Tomek Mrugalski il y a 8 ans
Parent
commit
cee3a439b5
1 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 6 6
      src/lib/dhcpsrv/client_class_def.h

+ 6 - 6
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 {