Adjust the peer delay request message interval field.

IEEE 802.1AS-2011 specifies using the current logMinPdelayReqInterval
for this field.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-09-01 12:24:46 +02:00
parent db36fb52ca
commit ace0d71a80
1 changed files with 2 additions and 1 deletions

3
port.c
View File

@ -456,7 +456,8 @@ static int port_pdelay_request(struct port *p)
msg->header.sourcePortIdentity = p->portIdentity;
msg->header.sequenceId = p->seqnum.delayreq++;
msg->header.control = CTL_OTHER;
msg->header.logMessageInterval = 0x7f;
msg->header.logMessageInterval = p->pod.follow_up_info ?
p->logMinPdelayReqInterval : 0x7f;
if (msg_pre_send(msg))
goto out;