DHCPv6 Option 15 User-Class incorrectly parsed in Wireshark
Summary
When looking at pcap files of DHCPv6 Infomation Request and Router Solicitation packets we are seeing the DHCPv6 Option 15 (User-Class) attribute incorrectly parsed - causing the packet to show up as malformed despite being correct as per RFC8415 section 21.15. (https://datatracker.ietf.org/doc/html/rfc8415#section-21.15)
Steps to reproduce
Obtain a pcap of DHCPv6 Information request or Router Solicitation packet with the Option 15 User-Class enabled. When inspecting in wireshark note how the packet is highlighted as malformed, despite being correctly encoded.
What is the current bug behavior?
The Information Request and Router Solicitation DHCPv6 packets are being marked as malformed.
What is the expected correct behavior?
We should be seeing the sub option of the User-Class being accepted as per RFC8415.
Sample capture file
Attached pcap files to this issue with both the Information Request and Router Solicitation and issues present.
Build information
Version 3.6.3 (v3.6.3-0-g6d348e46)