Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
0afbc3c3
Commit
0afbc3c3
authored
Nov 11, 2006
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync IPv4 and IPv6 multicast debugs
parent
39401d06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/misc/network/ipv6.c
modules/misc/network/ipv6.c
+2
-1
No files found.
modules/misc/network/ipv6.c
View file @
0afbc3c3
...
...
@@ -266,7 +266,7 @@ static int OpenUDP( vlc_object_t * p_this )
p_sin6
=
(
struct
sockaddr_in6
*
)
&
imr
.
gsr_source
;
p_sin6
->
sin6_addr
=
sock
.
sin6_addr
;
msg_Dbg
(
p_this
,
"
IPV6_ADD_SOURCE_MEMBERSHI
P multicast request"
);
msg_Dbg
(
p_this
,
"
MCAST_JOIN_SOURCE_GROU
P multicast request"
);
if
(
setsockopt
(
i_handle
,
IPPROTO_IPV6
,
MCAST_JOIN_SOURCE_GROUP
,
(
char
*
)
&
imr
,
sizeof
(
struct
group_source_req
)
)
==
-
1
)
{
...
...
@@ -282,6 +282,7 @@ static int OpenUDP( vlc_object_t * p_this )
imr
.
ipv6mr_interface
=
sock
.
sin6_scope_id
;
imr
.
ipv6mr_multiaddr
=
sock
.
sin6_addr
;
msg_Dbg
(
p_this
,
"IPV6_JOIN_GROUP multicast request"
);
res
=
setsockopt
(
i_handle
,
IPPROTO_IPV6
,
IPV6_JOIN_GROUP
,
(
void
*
)
&
imr
,
#if defined(WIN32)
sizeof
(
imr
)
+
4
);
/* Doesn't work without this */
...
...
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