Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
59c865d1
Commit
59c865d1
authored
Dec 16, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing includes
parent
9be94826
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/network/rootwrap.c
src/network/rootwrap.c
+2
-1
No files found.
src/network/rootwrap.c
View file @
59c865d1
...
...
@@ -33,6 +33,7 @@
#include <stdlib.h>
/* exit() */
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
...
...
@@ -229,7 +230,7 @@ static void rootprocess (int fd)
setsockopt
(
sock
,
SOL_SOCKET
,
SO_REUSEADDR
,
&
val
,
sizeof
(
val
));
if
(
ss
.
ss_family
==
AF_INET6
)
setsockopt
(
sock
,
SOL
_IPV6
,
IPV6_V6ONLY
,
&
val
,
sizeof
(
val
));
setsockopt
(
sock
,
IPPROTO
_IPV6
,
IPV6_V6ONLY
,
&
val
,
sizeof
(
val
));
if
(
bind
(
sock
,
(
struct
sockaddr
*
)
&
ss
,
len
)
==
0
)
{
...
...
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