1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

sock: change IPv4 address type to array

This commit is contained in:
Martine Lenders 2016-10-14 11:02:50 +02:00 committed by Martine Lenders
parent d79cd42f15
commit 9e6b7e8dbf

View File

@ -172,7 +172,7 @@ typedef struct {
*/
uint8_t ipv6[16];
#endif
uint32_t ipv4; /**< IPv4 address mode */
uint8_t ipv4[4]; /**< IPv4 address mode */
} addr; /**< address */
/**
@ -208,7 +208,7 @@ struct _sock_tl_ep {
*/
uint8_t ipv6[16];
#endif
uint32_t ipv4; /**< IPv4 address mode */
uint8_t ipv4[4]; /**< IPv4 address mode */
} addr; /**< address */
/**