Skip to content
Commit 7949789c authored by Robert Lubos's avatar Robert Lubos Committed by Daniel DeGrasse
Browse files

net: ip: utils: Avoid casting to in(6)_addr struct in net_addr_ntop()



In order to avoid alignment issues when casting void pointers to
in(6)_addr structures, create a properly aligned copy of the ip(v6)
address on stack.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent bd96b5dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment