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
parent
db36fb52ca
commit
ace0d71a80
3
port.c
3
port.c
|
@ -456,7 +456,8 @@ static int port_pdelay_request(struct port *p)
|
||||||
msg->header.sourcePortIdentity = p->portIdentity;
|
msg->header.sourcePortIdentity = p->portIdentity;
|
||||||
msg->header.sequenceId = p->seqnum.delayreq++;
|
msg->header.sequenceId = p->seqnum.delayreq++;
|
||||||
msg->header.control = CTL_OTHER;
|
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))
|
if (msg_pre_send(msg))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue