Skip to content

Commit

Permalink
modify struct linux_sockaddr same to struct sockaddr in linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfb8856606 committed Mar 6, 2021
1 parent 9a9b558 commit d96a9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ff_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d96a9d1

Please sign in to comment.