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
c0f6a69c
Commit
c0f6a69c
authored
Nov 11, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SAP group IPv6 addresses
parent
fee133d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/stream_output/sap.c
src/stream_output/sap.c
+3
-3
No files found.
src/stream_output/sap.c
View file @
c0f6a69c
...
@@ -292,11 +292,11 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
...
@@ -292,11 +292,11 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
"
\x00\x00\x00\x00\x00\x02\x7f\xfe
"
,
14
);
"
\x00\x00\x00\x00\x00\x02\x7f\xfe
"
,
14
);
if
(
IN6_IS_ADDR_MULTICAST
(
a6
)
)
if
(
IN6_IS_ADDR_MULTICAST
(
a6
)
)
{
{
/* force reserved bits in flags to zero, preserve scope */
a6
->
s6_addr
[
1
]
&=
0x3f
;
/* SSM <=> ff3x::/32 */
/* SSM <=> ff3x::/32 */
b_ssm
=
(
GetDWLE
(
a6
->
s6_addr
)
&
0xfff0ffff
)
==
0xff300000
;
b_ssm
=
(
GetDWLE
(
a6
->
s6_addr
)
&
0xfff0ffff
)
==
0xff300000
;
/* force flags to zero, preserve scope */
a6
->
s6_addr
[
1
]
&=
0xf
;
}
}
else
else
/* Unicast IPv6 - assume global scope */
/* Unicast IPv6 - assume global scope */
...
...
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