mirror of https://github.com/ntop/n2n.git
Browse Source
Not all struct sockaddr are going to have the sa_family as their first field. Since there is a named structure member, we can simply use that and let the compiler sort it out. This fixes a bug with at least FreeBSD and allows us to remove the special case for Apple.pull/1128/head
Hamish Coleman
1 year ago
1 changed files with 1 additions and 4 deletions
Loading…
Reference in new issue