bug #37585/task #12600: fixed struct in6_addr.s6_addr to conform to spec

This commit is contained in:
Simon Goldschmidt 2013-06-29 21:16:59 +02:00
parent 8d0664186a
commit 748b70311e
2 changed files with 4 additions and 1 deletions

View File

@ -80,6 +80,9 @@ HISTORY
++ Bugfixes:
2013-06-29: Simon Goldschmidt
* inet6.h: bug #37585/task #12600: fixed struct in6_addr.s6_addr to conform to spec
2013-04-24: patch by Liam <morepork>
* api_msg.c: patch #8008 Fix a potential null pointer dereference in assert

View File

@ -58,7 +58,7 @@ struct in6_addr {
u8_t u8_addr[16];
u32_t u32_addr[4];
} un;
#define s6_addr un.u32_addr
#define s6_addr un.u8_addr
};
#define IN6ADDR_ANY_INIT {0,0,0,0}