Commit 3874df3b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix socket protection level.

parent 13b3f5c2
......@@ -102,8 +102,9 @@ int net_Socket (vlc_object_t *p_this, int family, int socktype,
#if defined (WIN32) || defined (UNDER_CE)
# ifndef IPV6_PROTECTION_LEVEL
# warning Please update your C library headers.
# define IPV6_PROTECTION_LEVEL 23
# define PROTECTION_LEVEL_UNRESTRICTED 30
# define PROTECTION_LEVEL_UNRESTRICTED 10
# endif
if (family == AF_INET6)
setsockopt (fd, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL,
......
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