X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fdhcpv6.c;h=3e128bcfa151c1001d56ccd6661b3eb880bbfc77;hp=f91f2cf16b8c8ff6fe881310433b98b68e2d8780;hb=ec7f4701b348f5c4c3191ca83ecd8453c431c432;hpb=ca0693fe09d59a95192c4ad86492f05dfadbbf10 diff --git a/src/dhcpv6.c b/src/dhcpv6.c index f91f2cf..3e128bc 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -1000,7 +1000,7 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig, _unused const int rc, if (code != DHCPV6_Success) continue; - dhcpv6_parse_ia(ia_hdr, odata + olen + sizeof(*ia_hdr)); + dhcpv6_parse_ia(ia_hdr, odata + olen); passthru = false; } else if (otype == DHCPV6_OPT_STATUS && olen >= 2) { uint8_t *mdata = (olen > 2) ? &odata[2] : NULL;