net: dhcpv6: Avoid directly accessing address of unaligned struct
Use UNALIGNED_MEMBER_ADDR when getting the address of possibly
unaligned structures members instead of attempting to directly
get the address as an offset.
Signed-off-by:
Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Loading
Please sign in to comment