Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16

This commit is contained in:
goldsimon 2010-10-20 17:58:52 +00:00
parent 93dc36e091
commit 704d90f693
2 changed files with 4 additions and 1 deletions

View File

@ -229,6 +229,9 @@ HISTORY
++ Bugfixes:
2010-10-20: Simon Goldschmidt
* sockets.h: Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16
2010-10-05: Simon Goldschmidt
* dhcp.c: Once again fixed #30038: DHCP/AutoIP cooperation failed when
replugging the network cable after an AutoIP address was assigned.

View File

@ -59,7 +59,7 @@ struct sockaddr_in {
struct sockaddr {
u8_t sa_len;
u8_t sa_family;
u16_t sa_data[14];
char sa_data[14];
};
#ifndef socklen_t