mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Reverted the change in struct sockaddr since it wasn't compatible to the standard (bug #29210)
This commit is contained in:
parent
839befe68a
commit
79d3b41e13
@ -59,13 +59,7 @@ struct sockaddr_in {
|
|||||||
struct sockaddr {
|
struct sockaddr {
|
||||||
u8_t sa_len;
|
u8_t sa_len;
|
||||||
u8_t sa_family;
|
u8_t sa_family;
|
||||||
union {
|
u16_t sa_data[14];
|
||||||
char bytes[14];
|
|
||||||
struct {
|
|
||||||
u16_t a1;
|
|
||||||
u32_t a2;
|
|
||||||
} alignment;
|
|
||||||
} sa_data;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef socklen_t
|
#ifndef socklen_t
|
||||||
|
Loading…
Reference in New Issue
Block a user