This should fix BONE compatibility a little bit. We still need nonblocking IO and a good select() fix.
Explanation: we did not have the same sockaddr_in struct size as BONE, but our netstack wants to have our size, so I changed it to match BONE's. ;) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9079 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -77,7 +77,7 @@ struct sockaddr_in {
|
||||
uint8 sin_family;
|
||||
uint16 sin_port;
|
||||
struct in_addr sin_addr;
|
||||
int8 sin_zero[8];
|
||||
int8 sin_zero[24];
|
||||
};
|
||||
/* the address is therefore at sin_addr.s_addr */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user