Browse Source

[3211] Changes after review:

 - ChangeLog clarified
 - Comments in option_definition.h corrected
Tomek Mrugalski 11 years ago
parent
commit
ed43618a2c
2 changed files with 3 additions and 6 deletions
  1. 1 1
      ChangeLog
  2. 2 5
      src/lib/dhcp/option_definition.h

+ 1 - 1
ChangeLog

@@ -1,5 +1,5 @@
 7XX.	[bug]		tomek
-	libdhcp++: Incoming IAPREFIX option is now parsed properly.
+	libdhcp++: Incoming DHCPv6 IAPREFIX option is now parsed properly.
 	(Trac #3211, git ABCD)
 
 700.	[func]		tomek,marcin

+ 2 - 5
src/lib/dhcp/option_definition.h

@@ -453,7 +453,6 @@ public:
     ///
     /// @throw isc::OutOfRange if provided option buffer is too short or
     /// too long. Expected size is 12 bytes.
-    /// @throw isc::BadValue if specified universe value is not V6.
     static OptionPtr factoryIA6(uint16_t type,
                                 OptionBufferConstIter begin,
                                 OptionBufferConstIter end);
@@ -466,7 +465,6 @@ public:
     ///
     /// @throw isc::OutOfRange if provided option buffer is too short or
     /// too long. Expected size is 24 bytes.
-    /// @throw isc::BadValue if specified universe value is not V6.
     static OptionPtr factoryIAAddr6(uint16_t type,
                                     OptionBufferConstIter begin,
                                     OptionBufferConstIter end);
@@ -477,9 +475,8 @@ public:
     /// @param begin iterator pointing to the beginning of the buffer.
     /// @param end iterator pointing to the end of the buffer.
     ///
-    /// @throw isc::OutOfRange if provided option buffer is too short or
-    /// too long. Expected size is 25 bytes.
-    /// @throw isc::BadValue if specified universe value is not V6.
+    /// @throw isc::OutOfRange if provided option buffer is too short.
+    /// Expected minimum size is 25 bytes.
     static OptionPtr factoryIAPrefix6(uint16_t type,
                                       OptionBufferConstIter begin,
                                       OptionBufferConstIter end);