Browse Source

code update for protected function

wlodek 11 years ago
parent
commit
ec47fdb14d
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/bin/dhcp6/dhcp6_srv.h

+ 8 - 8
src/bin/dhcp6/dhcp6_srv.h

@@ -117,6 +117,14 @@ public:
     /// @param port UDP port on which server should listen.
     static void openActiveSockets(const uint16_t port);
 
+    /// @brief compare received server id with ours server id
+    ///
+    /// Verifies received ServerID with generated ServerID
+    ///
+    /// @param pkt packet to be checked
+    /// @throw ServerID_mismatch if server_ids are not equal
+    void testServerid(const Pkt6Ptr& pkt);
+    
 protected:
 
     /// @brief verifies if specified packet meets RFC requirements
@@ -130,14 +138,6 @@ protected:
     /// @throw RFCViolation if any issues are detected
     void sanityCheck(const Pkt6Ptr& pkt, RequirementLevel clientid,
                      RequirementLevel serverid);
-
-    /// @brief compare received server id with ours server id
-    ///
-    /// Verifies received ServerID with generated ServerID
-    ///
-    /// @param pkt packet to be checked
-    /// @throw ServerID_mismatch if server_ids are not equal
-    void testServerid(const Pkt6Ptr& pkt);
     
     /// @brief Processes incoming SOLICIT and returns response.
     ///