Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
spr0cketeer
Icecast-common
Commits
ce28de78
Commit
ce28de78
authored
Feb 28, 2008
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fix for older setups with IPv6
svn path=/icecast/trunk/net/; revision=14545
parent
81ca1569
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
net/sock.c
net/sock.c
+2
-0
No files found.
net/sock.c
View file @
ce28de78
...
...
@@ -699,7 +699,9 @@ sock_t sock_get_server_socket (int port, const char *sinterface)
setsockopt
(
sock
,
SOL_SOCKET
,
SO_REUSEADDR
,
(
const
void
*
)
&
on
,
sizeof
(
on
));
on
=
0
;
#ifdef IPV6_V6ONLY
setsockopt
(
sock
,
IPPROTO_IPV6
,
IPV6_V6ONLY
,
&
on
,
sizeof
on
);
#endif
if
(
bind
(
sock
,
ai
->
ai_addr
,
ai
->
ai_addrlen
)
<
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