Commit 3a7073a0 authored by Alessandro Rubini's avatar Alessandro Rubini

msg.c: transport specific must be 0

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 195d8733
......@@ -62,10 +62,8 @@ int msg_unpack_header(struct pp_instance *ppi, void *buf, int plen)
/* Pack header message into out buffer of ppi */
void msg_pack_header(struct pp_instance *ppi, void *buf)
{
Nibble transport = 0x80;
/* (spec annex D) */
*(UInteger8 *) (buf + 0) = transport;
/* (spec annex D and F) */
*(UInteger8 *) (buf + 0) = 0; /* message type changed later */
*(UInteger4 *) (buf + 1) = DSPOR(ppi)->versionNumber;
*(UInteger8 *) (buf + 4) = DSDEF(ppi)->domainNumber;
......
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