]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4206b] Fixed two typos in the Pkt4 and Pkt6 methods. trac4240_base trac4241_base
authorMarcin Siodelski <marcin@isc.org>
Fri, 11 Dec 2015 15:26:17 +0000 (16:26 +0100)
committerMarcin Siodelski <marcin@isc.org>
Fri, 11 Dec 2015 15:26:17 +0000 (16:26 +0100)
src/lib/dhcp/pkt4.cc
src/lib/dhcp/pkt6.cc

index 71086e23ffa43260ad90955b9b5897c316c64d7e..81f3918a98d61fcc0935052ac8d9aead17ff6834 100644 (file)
@@ -362,7 +362,7 @@ Pkt4::getLabel() const {
     } catch (...) {
         // This should not happen with the current code, but we may add extra
         // sanity checks in the future that would possibly throw if
-        // the hwaddr lenght is 0.
+        // the hwaddr length is 0.
         label << " (malformed hw address)";
     }
 
index 59986f0d58df920b91201a342f3f28a4238f5c23..322224717ce359aaf806bcfbf7feda59e946efad 100644 (file)
@@ -566,7 +566,7 @@ Pkt6::getClientId() const {
         // process of logging something for this packet. So the only
         // choice left is to return an empty pointer.
     }
-    return DuidPtr();
+    return (DuidPtr());
 }
 
 isc::dhcp::OptionCollection