diff --git a/src/remote/SockAddr.h b/src/remote/SockAddr.h index 624c9df5de..ba1379a234 100644 --- a/src/remote/SockAddr.h +++ b/src/remote/SockAddr.h @@ -106,10 +106,12 @@ public: #define AF_INET6_POSIX 10 #define AF_INET6_WINDOWS 23 +#define AF_INET6_FREEBSD 28 #define AF_INET6_DARWIN 30 #if AF_INET6 == AF_INET6_POSIX #elif AF_INET6 == AF_INET6_WINDOWS +#elif AF_INET6 == AF_INET6_FREEBSD #elif AF_INET6 == AF_INET6_DARWIN #else #error Unknown value of AF_INET6 ! @@ -125,6 +127,7 @@ inline void SockAddr::checkAndFixFamily() case AF_INET6_POSIX: case AF_INET6_WINDOWS: + case AF_INET6_FREEBSD: case AF_INET6_DARWIN: data.sock.sa_family = AF_INET6; fb_assert(len == sizeof(sockaddr_in6));