From: Francis Dupont Date: Tue, 28 Oct 2014 15:56:17 +0000 (+0100) Subject: fix trivial bug X-Git-Tag: trac3629a_base~8^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16b7fb6de535c075b324f783344183ece136945e;p=thirdparty%2Fkea.git fix trivial bug --- diff --git a/src/lib/dhcp/pkt.cc b/src/lib/dhcp/pkt.cc index f9caa05a5d..9632cae4a3 100644 --- a/src/lib/dhcp/pkt.cc +++ b/src/lib/dhcp/pkt.cc @@ -185,7 +185,7 @@ Pkt::getMACFromIPv6(const isc::asiolink::IOAddress& addr) { // Check that u bit is set and g is clear. See Section 2.5.1 of RFC2373 // for details. - ( (bin[0] & 3) != 2) || + ((bin[8] & 3) != 2) || // And that the IID is of EUI-64 type. (bin[11] != 0xff) || (bin[12] != 0xfe)) {