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
47
Issues
47
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
3447e609
Commit
3447e609
authored
Feb 24, 2017
by
Alessandro Rubini
Committed by
Adam Wujek
Mar 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audit: 13.3.2.10: receiver should ignore controlField
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
963bd1c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ieee1588_types.h
include/ppsi/ieee1588_types.h
+1
-1
msg.c
proto-standard/msg.c
+0
-1
No files found.
include/ppsi/ieee1588_types.h
View file @
3447e609
...
...
@@ -116,7 +116,7 @@ typedef struct MsgHeader {
struct
pp_time
cField
;;
PortIdentity
sourcePortIdentity
;
UInteger16
sequenceId
;
UInteger8
controlField
;
/* UInteger8 controlField; -- receiver must ignore it */
Integer8
logMessageInterval
;
}
MsgHeader
;
...
...
proto-standard/msg.c
View file @
3447e609
...
...
@@ -33,7 +33,6 @@ int msg_unpack_header(struct pp_instance *ppi, void *buf, int plen)
hdr
->
sourcePortIdentity
.
portNumber
=
htons
(
*
(
UInteger16
*
)
(
buf
+
28
));
hdr
->
sequenceId
=
htons
(
*
(
UInteger16
*
)
(
buf
+
30
));
hdr
->
controlField
=
(
*
(
UInteger8
*
)
(
buf
+
32
));
hdr
->
logMessageInterval
=
(
*
(
Integer8
*
)
(
buf
+
33
));
...
...
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