Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8fcd56ee
Commit
8fcd56ee
authored
Aug 14, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
got the value for PROTECTION_LEVEL_* hard-coded
, but still miss the other one. Anyone with Visual Studio here ?
parent
642b666c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/misc/network/ipv6.c
modules/misc/network/ipv6.c
+1
-1
src/misc/net.c
src/misc/net.c
+1
-1
No files found.
modules/misc/network/ipv6.c
View file @
8fcd56ee
...
...
@@ -194,7 +194,7 @@ static int OpenUDP( vlc_object_t * p_this )
# ifdef IPV6_PROTECTION_LEVEL
if
(
ptr
->
ai_family
==
AF_INET6
)
{
int
i_val
=
PROTECTION_LEVEL_UNRESTRICTED
;
int
i_val
=
30
/*PROTECTION_LEVEL_UNRESTRICTED*/
;
setsockopt
(
fd
,
IPPROTO_IPV6
,
IPV6_PROTECTION_LEVEL
,
&
i_val
,
sizeof
(
i_val
)
);
}
...
...
src/misc/net.c
View file @
8fcd56ee
...
...
@@ -128,7 +128,7 @@ static int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
# ifdef IPV6_PROTECTION_LEVEL
if
(
i_family
==
AF_INET6
)
{
i_val
=
PROTECTION_LEVEL_UNRESTRICTED
;
i_val
=
30
/*PROTECTION_LEVEL_UNRESTRICTED*/
;
setsockopt
(
fd
,
IPPROTO_IPV6
,
IPV6_PROTECTION_LEVEL
,
(
const
char
*
)
&
i_val
,
sizeof
(
i_val
)
);
}
...
...
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