From fdb43d11224e46c048074f2b228a1ca23cccf723 Mon Sep 17 00:00:00 2001
From: Christophe Massiot <massiot@videolan.org>
Date: Wed, 21 Dec 2016 17:32:47 +0000
Subject: [PATCH] No idea how to implement that on FreeBSD for now

commit e55acfd1a11b2891e8bb467ac8e147ef58a82ce1
Author: Dmitry Marakasov <amdmi3@amdmi3.ru>
Date:   Fri Oct 7 17:22:12 2016 +0300
---
 util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c
index a51d45e..25b6ab8 100644
--- a/util.c
+++ b/util.c
@@ -721,7 +721,7 @@ int OpenSocket( const char *_psz_arg, int i_ttl, uint16_t i_bind_port,
 
             if ( bind_addr.ss.ss_family != AF_UNSPEC )
             {
-                #ifndef __APPLE__
+                #if !defined(__APPLE__) && !defined(__FreeBSD__)
                 if ( IN6_IS_ADDR_MULTICAST( &bind_addr.sin6.sin6_addr ) )
                 {
                     struct ipv6_mreq imr;
-- 
GitLab