Commit 789892ca authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Compile fix

parent df1e5c50
......@@ -198,10 +198,9 @@ static int OpenUDP( vlc_object_t * p_this )
# ifndef IPV6_PROTECTION_LEVEL
# define IPV6_PROTECTION_LEVEL 23
# endif
if( ptr->ai_family == AF_INET6 )
{
int i_val = 30 /*PROTECTION_LEVEL_UNRESTRICTED*/;
setsockopt( fd, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL, &i_val,
setsockopt( i_handle, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL, &i_val,
sizeof( i_val ) );
}
#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