Ignore management response messages.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
ae41fa0f68
commit
1516be04e2
11
clock.c
11
clock.c
|
@ -596,6 +596,17 @@ void clock_manage(struct clock *c, struct port *p, struct ptp_message *msg)
|
||||||
}
|
}
|
||||||
mgt = (struct management_tlv *) msg->management.suffix;
|
mgt = (struct management_tlv *) msg->management.suffix;
|
||||||
|
|
||||||
|
switch (management_action(msg)) {
|
||||||
|
case GET:
|
||||||
|
case SET:
|
||||||
|
case COMMAND:
|
||||||
|
break;
|
||||||
|
case RESPONSE:
|
||||||
|
case ACKNOWLEDGE:
|
||||||
|
/* Ignore responses from other nodes. */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (clock_management_response(c, p, mgt->id, msg))
|
if (clock_management_response(c, p, mgt->id, msg))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue