port: Correct log message interval field of unicast Sync messages.

According to the standard, this field is special for unicast messages.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2018-04-05 11:17:51 -07:00
parent a4981b2050
commit 494643d1fb
1 changed files with 1 additions and 0 deletions

1
port.c
View File

@ -1418,6 +1418,7 @@ static int port_tx_sync(struct port *p, struct address *dst)
if (dst) {
msg->address = *dst;
msg->header.flagField[0] |= UNICAST;
msg->header.logMessageInterval = 0x7f;
}
err = port_prepare_and_send(p, msg, event);
if (err) {