]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3478] Addressed review comments.
authorMarcin Siodelski <marcin@isc.org>
Mon, 18 Aug 2014 08:33:39 +0000 (10:33 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 18 Aug 2014 08:33:39 +0000 (10:33 +0200)
src/lib/dhcp/iface_mgr.cc
src/lib/dhcp/iface_mgr.h

index b466aa6dc67e974a7932a1d8ecf8876533f1bd30..348620105039d522e6323d2b28bb9e44478a5924 100644 (file)
@@ -944,7 +944,7 @@ IfaceMgr::receive4(uint32_t timeout_sec, uint32_t timeout_usec /* = 0 */) {
         // an error because of a signal being received  or for some other
         // reasaon. This is because DHCP servers use signals to trigger
         // certain actions, like reconfiguration or graceful shutdown.
-        // By cacthing a dedicated exception the caller will know if the
+        // By catching a dedicated exception the caller will know if the
         // error returned by the function is due to the reception of the
         // signal or for some other reason.
         if (errno == EINTR) {
@@ -1059,7 +1059,7 @@ Pkt6Ptr IfaceMgr::receive6(uint32_t timeout_sec, uint32_t timeout_usec /* = 0 */
         // an error because of a signal being received  or for some other
         // reasaon. This is because DHCP servers use signals to trigger
         // certain actions, like reconfiguration or graceful shutdown.
-        // By cacthing a dedicated exception the caller will know if the
+        // By catching a dedicated exception the caller will know if the
         // error returned by the function is due to the reception of the
         // signal or for some other reason.
         if (errno == EINTR) {
index 0221ea2ebbf6d3026fe803decb6623f749ab81e7..22a6771d6df3eb3bab7c67a092759e2df8b69e3a 100644 (file)
@@ -612,6 +612,9 @@ public:
     /// sockets. If reception is successful and all information about its
     /// sender is obtained, Pkt6 object is created and returned.
     ///
+    /// This method also checks if data arrived over registered external socket.
+    /// This data may be of a different protocol family than AF_INET6.
+    ///
     /// @param timeout_sec specifies integral part of the timeout (in seconds)
     /// @param timeout_usec specifies fractional part of the timeout
     /// (in microseconds)
@@ -631,6 +634,9 @@ public:
     /// IPv4 sockets. If reception is successful and all information about
     /// its sender is obtained, Pkt4 object is created and returned.
     ///
+    /// This method also checks if data arrived over registered external socket.
+    /// This data may be of a different protocol family than AF_INET.
+    ///
     /// @param timeout_sec specifies integral part of the timeout (in seconds)
     /// @param timeout_usec specifies fractional part of the timeout
     /// (in microseconds)