Skip to content
Commit 85925018 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
Browse files

net: Remove s_addr/s6_addr defines from in_addr/in6_addr



Replace #defines for s_addr/s6_addr etc. in in_addr/in6_addr structures
within net_ip.h with fixed fileds inside an anonymous union. This
prevents intrusive behaviour of net_ip.h, which expands every occurence
of s_addr/s6_addr with it's own define, even in other, non-related
structures.

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