Skip to content
Snippets Groups Projects
Commit 2828ddcb authored by Adam Wujek's avatar Adam Wujek
Browse files

userspace/snmpd: fill wrsPtpSyncSource in wrsPtpDataTable


Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent e90951a0
No related merge requests found
......@@ -188,7 +188,9 @@ time_t wrsPtpDataTable_data_fill(unsigned int *n_rows)
1 + wrh_servo->tracking_enabled;
/* wrsPtpSyncSource */
// TODO
tmp_name = (char *) wrs_shm_follow(ppsi_head, ppsi_i->iface_name);
strncpy(ptp_a[si].wrsPtpSyncSource, tmp_name, 12);
ptp_a[si].wrsPtpSyncSource[31] = '\0';
/* wrsPtpSkew */
ptp_a[si].wrsPtpSkew =
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment