mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
fix DHCPv6 decode
This commit is contained in:
@@ -2252,12 +2252,12 @@ decode_dhcpv6(uint8_t *buf, uint16_t len,
|
||||
dhcpv6->rapid = true;
|
||||
break;
|
||||
case DHCPV6_OPTION_IA_NA:
|
||||
if(decode_dhcpv6_ia_na(buf, len, dhcpv6) != PROTOCOL_SUCCESS) {
|
||||
if(decode_dhcpv6_ia_na(buf, option_len, dhcpv6) != PROTOCOL_SUCCESS) {
|
||||
return DECODE_ERROR;
|
||||
}
|
||||
break;
|
||||
case DHCPV6_OPTION_IA_PD:
|
||||
if(decode_dhcpv6_ia_pd(buf, len, dhcpv6) != PROTOCOL_SUCCESS) {
|
||||
if(decode_dhcpv6_ia_pd(buf, option_len, dhcpv6) != PROTOCOL_SUCCESS) {
|
||||
return DECODE_ERROR;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user