Skip to content
Commit 82658ea6 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Daniel DeGrasse
Browse files

net: igmp: 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: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 236ccd37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment