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 {
struct pp_time cField;;
PortIdentity sourcePortIdentity;
UInteger16 sequenceId;
UInteger8 controlField;
/* UInteger8 controlField; -- receiver must ignore it */
Integer8 logMessageInterval;
} MsgHeader;
......
......@@ -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));
......
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