Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
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 )
...
@@ -266,7 +266,7 @@ static int OpenUDP( vlc_object_t * p_this )
p_sin6
=
(
struct
sockaddr_in6
*
)
&
imr
.
gsr_source
;
p_sin6
=
(
struct
sockaddr_in6
*
)
&
imr
.
gsr_source
;
p_sin6
->
sin6_addr
=
sock
.
sin6_addr
;
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
,
if
(
setsockopt
(
i_handle
,
IPPROTO_IPV6
,
MCAST_JOIN_SOURCE_GROUP
,
(
char
*
)
&
imr
,
sizeof
(
struct
group_source_req
)
)
==
-
1
)
(
char
*
)
&
imr
,
sizeof
(
struct
group_source_req
)
)
==
-
1
)
{
{
...
@@ -282,6 +282,7 @@ static int OpenUDP( vlc_object_t * p_this )
...
@@ -282,6 +282,7 @@ static int OpenUDP( vlc_object_t * p_this )
imr
.
ipv6mr_interface
=
sock
.
sin6_scope_id
;
imr
.
ipv6mr_interface
=
sock
.
sin6_scope_id
;
imr
.
ipv6mr_multiaddr
=
sock
.
sin6_addr
;
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
,
res
=
setsockopt
(
i_handle
,
IPPROTO_IPV6
,
IPV6_JOIN_GROUP
,
(
void
*
)
&
imr
,
#if defined(WIN32)
#if defined(WIN32)
sizeof
(
imr
)
+
4
);
/* Doesn't work without this */
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