From fe48586eefc40105c3244fb7892fae8b230111e1 Mon Sep 17 00:00:00 2001 From: bkambach Date: Mon, 13 Jul 2015 17:49:29 -0400 Subject: [PATCH] Remove update of options size in constructor --- src/dhcpv6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6.cpp b/src/dhcpv6.cpp index 587bab9..8adc0e9 100644 --- a/src/dhcpv6.cpp +++ b/src/dhcpv6.cpp @@ -58,7 +58,7 @@ DHCPv6::DHCPv6(const uint8_t *buffer, uint32_t total_sz) buffer += ipaddress_type::address_size * 2; total_sz -= ipaddress_type::address_size * 2; } - options_size = total_sz; + //options_size = total_sz; while(total_sz) { if(total_sz < sizeof(uint16_t) * 2) throw malformed_packet();