On Fri, Nov 25, 2016 at 03:17:22PM +0800, Kevin Lo wrote:
> Since the Linux implementation of sockaddr doesn't have sa_len as a member,
> but the FreeBSD version does, introduce a get_sa_len() function that
> determines the size based on the address family.
>
> Signed-off-by: Kevin Lo
> ---
>
>
Since the Linux implementation of sockaddr doesn't have sa_len as a member,
but the FreeBSD version does, introduce a get_sa_len() function that
determines the size based on the address family.
Signed-off-by: Kevin Lo
---
v3: Check for the right feature when using a sockaddr_in6.
Some systems, s