From: Marcin Siodelski Date: Fri, 11 Dec 2015 15:26:17 +0000 (+0100) Subject: [4206b] Fixed two typos in the Pkt4 and Pkt6 methods. X-Git-Tag: trac4240_base X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afcbbda770ef98b1c1d1900d49675ac68e554d00;p=thirdparty%2Fkea.git [4206b] Fixed two typos in the Pkt4 and Pkt6 methods. --- diff --git a/src/lib/dhcp/pkt4.cc b/src/lib/dhcp/pkt4.cc index 71086e23ff..81f3918a98 100644 --- a/src/lib/dhcp/pkt4.cc +++ b/src/lib/dhcp/pkt4.cc @@ -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)"; } diff --git a/src/lib/dhcp/pkt6.cc b/src/lib/dhcp/pkt6.cc index 59986f0d58..322224717c 100644 --- a/src/lib/dhcp/pkt6.cc +++ b/src/lib/dhcp/pkt6.cc @@ -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