1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Remove code, instead of commenting it out

This commit is contained in:
bkambach
2015-07-13 17:52:44 -04:00
parent fe48586eef
commit 3b23d68a10

View File

@@ -58,7 +58,6 @@ 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;
while(total_sz) {
if(total_sz < sizeof(uint16_t) * 2)
throw malformed_packet();