mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-13 02:40:52 +02:00
Compile fix
This commit is contained in:
parent
df1e5c5045
commit
789892ca93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user