Parcourir la source

[5073a] Fixed some typos as a result of a review.

Marcin Siodelski il y a 7 ans
Parent
commit
3ea49f8408
2 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 1 1
      doc/guide/dhcp4-srv.xml
  2. 5 3
      src/lib/dhcp/pkt4.h

+ 1 - 1
doc/guide/dhcp4-srv.xml

@@ -1639,7 +1639,7 @@ It is merely echoed by the server
       </para>
 
       <para>
-      Another possibility adde din Kea 1.3 is to redefine the option,
+      Another possibility, added in Kea 1.3, is to redefine the option,
       see <xref linkend="dhcp4-private-opts"/>.
       </para>
     </section>

+ 5 - 3
src/lib/dhcp/pkt4.h

@@ -367,10 +367,12 @@ public:
     /// @brief Returns a reference to option codes which unpacking
     /// will be deferred.
     ///
-    /// @notes Only options 42 and 224-254 are subject of deferred
-    /// unpacking: when the packet unpacking is performed each time
-    /// such an option is found it is unpacked as an unknown option
+    /// Only options 43 and 224-254 are subject of deferred
+    /// unpacking: when the packet unpacking is performed, each time
+    /// such an option is found, it is unpacked as an unknown option
     /// and the code added in this list.
+    ///
+    /// @return List of codes of options which unpacking is deferred.
     std::list<uint16_t>& getDeferredOptions() {
         return (deferred_options_);
     }