Commit 6a081073 authored by Florian Roeske's avatar Florian Roeske Committed by Rémi Denis-Courmont

Fix ipv6 multicast socket option

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit f19700eac766624f1c5c72e3668ea186a1edef8f)
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 4b19131c
...@@ -259,7 +259,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family, ...@@ -259,7 +259,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family,
#ifdef IPV6_MULTICAST_IF #ifdef IPV6_MULTICAST_IF
case AF_INET6: case AF_INET6:
if (setsockopt (fd, SOL_IPV6, IPV6_MULTICAST_IF, if (setsockopt (fd, SOL_IPV6, IPV6_MULTICAST_IF,
&scope, sizeof (scope) == 0)) &scope, sizeof (scope)) == 0)
return 0; return 0;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment