Commit 21f8b055 authored by Marian Durkovic's avatar Marian Durkovic

Backport [17653]

parent 26c09701
...@@ -113,7 +113,7 @@ int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype, ...@@ -113,7 +113,7 @@ int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
# endif # endif
if( i_family == AF_INET6 ) if( i_family == AF_INET6 )
{ {
i_val = 30 /*PROTECTION_LEVEL_UNRESTRICTED*/; i_val = 10 /*PROTECTION_LEVEL_UNRESTRICTED*/;
setsockopt( fd, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL, setsockopt( fd, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL,
(const char*)&i_val, sizeof( i_val ) ); (const char*)&i_val, sizeof( i_val ) );
} }
......
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