Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
3874df3b
Commit
3874df3b
authored
Nov 11, 2006
by
Rémi Denis-Courmont
Browse files
Fix socket protection level.
parent
13b3f5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network/io.c
View file @
3874df3b
...
...
@@ -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
3
0
# define PROTECTION_LEVEL_UNRESTRICTED
1
0
# endif
if
(
family
==
AF_INET6
)
setsockopt
(
fd
,
IPPROTO_IPV6
,
IPV6_PROTECTION_LEVEL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment