pmc: Fix LOG_SYNC_INTERVAL
In pmc, there is a little bug (only text, not functional): When pmc is called with the management id 'LOG_SYNC_INTERVAL', the response is '... seq 0 RESPONSE MANAGEMENT ANNOUNCE_RECEIPT_TIMEOUT' . It should be '... seq 0 RESPONSE MANAGEMENT LOG_SYNC_INTERVAL'. This patch fixes this. [RC: Include explanation from 0/1 in commit message. ] Signed-off-by: Peter Schneider <peter@psch.de>master
parent
89969b4b0f
commit
0455489158
2
pmc.c
2
pmc.c
|
@ -414,7 +414,7 @@ static void pmc_show(struct ptp_message *msg, FILE *fp)
|
||||||
break;
|
break;
|
||||||
case TLV_LOG_SYNC_INTERVAL:
|
case TLV_LOG_SYNC_INTERVAL:
|
||||||
mtd = (struct management_tlv_datum *) mgt->data;
|
mtd = (struct management_tlv_datum *) mgt->data;
|
||||||
fprintf(fp, "ANNOUNCE_RECEIPT_TIMEOUT "
|
fprintf(fp, "LOG_SYNC_INTERVAL "
|
||||||
IFMT "logSyncInterval %hhd", mtd->val);
|
IFMT "logSyncInterval %hhd", mtd->val);
|
||||||
break;
|
break;
|
||||||
case TLV_VERSION_NUMBER:
|
case TLV_VERSION_NUMBER:
|
||||||
|
|
Loading…
Reference in New Issue