Commit f4b1ae79 authored by Marian Durkovic's avatar Marian Durkovic

PROTECTION_LEVEL_UNRESTRICTED is NOT equal to 30 !

#define PROTECTION_LEVEL_UNRESTRICTED  10  /* For peer-to-peer apps */
#define PROTECTION_LEVEL_DEFAULT       20  /* Default level         */
#define PROTECTION_LEVEL_RESTRICTED    30  /* For Intranet apps     */

closes #827
parent ac4d57e5
......@@ -187,7 +187,7 @@ static int OpenUDP( vlc_object_t * p_this )
# define IPV6_PROTECTION_LEVEL 23
# endif
{
int i_val = 30 /*PROTECTION_LEVEL_UNRESTRICTED*/;
int i_val = 10 /*PROTECTION_LEVEL_UNRESTRICTED*/;
setsockopt( i_handle, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL, &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