modify `struct linux_sockaddr` same to `struct sockaddr` in linux.

This commit is contained in:
fengbojiang 2021-01-29 16:29:43 +08:00
parent e846ec3310
commit 71d1223396
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ extern "C" {
struct linux_sockaddr {
short sa_family;
char sa_data[126];
char sa_data[14];
};
#define AF_INET6_LINUX 10