Skip to content

Commit d96a9d1

Browse files
committed
modify struct linux_sockaddr same to struct sockaddr in linux.
1 parent 9a9b558 commit d96a9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ff_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C" {
4141

4242
struct linux_sockaddr {
4343
short sa_family;
44-
char sa_data[126];
44+
char sa_data[14];
4545
};
4646

4747
#define AF_INET6_LINUX 10

0 commit comments

Comments
 (0)