Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
45f67965
Commit
45f67965
authored
Aug 31, 2016
by
Davide Ciminaghi
Committed by
Alessandro Rubini
Sep 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compliance: table 21 p. 127, force announce cf to 0.
parent
9baf73b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
msg.c
proto-standard/msg.c
+2
-0
No files found.
proto-standard/msg.c
View file @
45f67965
...
...
@@ -135,6 +135,8 @@ static int msg_pack_announce(struct pp_instance *ppi)
/* Table 19 */
*
(
UInteger16
*
)
(
buf
+
2
)
=
htons
(
PP_ANNOUNCE_LENGTH
);
ppi
->
sent_seq
[
PPM_ANNOUNCE
]
++
;
/* Table 21, set cf to zero */
memset
(
buf
+
8
,
0
,
8
);
*
(
UInteger16
*
)
(
buf
+
30
)
=
htons
(
ppi
->
sent_seq
[
PPM_ANNOUNCE
]);
*
(
UInteger8
*
)
(
buf
+
32
)
=
0x05
;
/* Table 23 */
...
...
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