Commit 3447e609 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Adam Wujek

audit: 13.3.2.10: receiver should ignore controlField

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 963bd1c9
...@@ -116,7 +116,7 @@ typedef struct MsgHeader { ...@@ -116,7 +116,7 @@ typedef struct MsgHeader {
struct pp_time cField;; struct pp_time cField;;
PortIdentity sourcePortIdentity; PortIdentity sourcePortIdentity;
UInteger16 sequenceId; UInteger16 sequenceId;
UInteger8 controlField; /* UInteger8 controlField; -- receiver must ignore it */
Integer8 logMessageInterval; Integer8 logMessageInterval;
} MsgHeader; } MsgHeader;
......
...@@ -33,7 +33,6 @@ int msg_unpack_header(struct pp_instance *ppi, void *buf, int plen) ...@@ -33,7 +33,6 @@ int msg_unpack_header(struct pp_instance *ppi, void *buf, int plen)
hdr->sourcePortIdentity.portNumber = hdr->sourcePortIdentity.portNumber =
htons(*(UInteger16 *) (buf + 28)); htons(*(UInteger16 *) (buf + 28));
hdr->sequenceId = htons(*(UInteger16 *) (buf + 30)); hdr->sequenceId = htons(*(UInteger16 *) (buf + 30));
hdr->controlField = (*(UInteger8 *) (buf + 32));
hdr->logMessageInterval = (*(Integer8 *) (buf + 33)); hdr->logMessageInterval = (*(Integer8 *) (buf + 33));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment