mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
milan-avb: gptp: use entity_id for management source port id
This commit is contained in:
parent
1e9f89b638
commit
21c4c59587
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ static bool update_ts_refclk(struct gptp *gptp)
|
|||
req.ver = PTP_VERSION_1588_2008_2_1;
|
||||
req.message_length_be = htons(sizeof(struct ptp_management_msg));
|
||||
spa_zero(req.clock_identity);
|
||||
req.source_port_id_be = htons(getpid());
|
||||
req.source_port_id_be = htons((uint16_t)gptp->server->entity_id);
|
||||
req.log_message_interval = PTP_DEFAULT_LOG_MESSAGE_INTERVAL;
|
||||
req.sequence_id_be = htons(gptp->ptp_seq++);
|
||||
memset(req.target_port_identity, 0xff, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue