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
3e5c6507
Commit
3e5c6507
authored
Nov 24, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-allow IGMPv3/MLDv2 for ASM addresses.
Retain connect() as fallback in any case.
parent
cbe0a57a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/misc/network/ipv4.c
modules/misc/network/ipv4.c
+1
-1
modules/misc/network/ipv6.c
modules/misc/network/ipv6.c
+1
-1
No files found.
modules/misc/network/ipv4.c
View file @
3e5c6507
...
@@ -265,7 +265,7 @@ static int OpenUDP( vlc_object_t * p_this )
...
@@ -265,7 +265,7 @@ static int OpenUDP( vlc_object_t * p_this )
so that IGMPv3 aware OSes running on IGMPv3 aware networks
so that IGMPv3 aware OSes running on IGMPv3 aware networks
will do an IGMPv3 query on the network */
will do an IGMPv3 query on the network */
if
((
*
psz_server_addr
)
if
((
*
psz_server_addr
)
&&
((
ntohl
(
sock
.
sin_addr
.
s_addr
)
>>
24
)
==
232
)
)
/*&& ((ntohl (sock.sin_addr.s_addr) >> 24) == 232)*/
)
{
{
struct
ip_mreq_source
imr
;
struct
ip_mreq_source
imr
;
...
...
modules/misc/network/ipv6.c
View file @
3e5c6507
...
@@ -240,7 +240,7 @@ static int OpenUDP( vlc_object_t * p_this )
...
@@ -240,7 +240,7 @@ static int OpenUDP( vlc_object_t * p_this )
if
(
IN6_IS_ADDR_MULTICAST
(
&
sock
.
sin6_addr
)
)
if
(
IN6_IS_ADDR_MULTICAST
(
&
sock
.
sin6_addr
)
)
{
{
if
((
*
psz_server_addr
)
if
((
*
psz_server_addr
)
&&
((
U32_AT
(
&
sock
.
sin6_addr
)
&
0xff30ffff
)
==
0xff300000
)
)
/*&& ((U32_AT (&sock.sin6_addr) & 0xff30ffff) == 0xff300000)*/
)
{
{
#ifndef MCAST_JOIN_SOURCE_GROUP
#ifndef MCAST_JOIN_SOURCE_GROUP
errno
=
ENOSYS
;
errno
=
ENOSYS
;
...
...
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