Commit 129b0f9a authored by Joanne Hugé's avatar Joanne Hugé

Enable error reporting for SO_TXTIME socket option

parent 4ae8c18c
......@@ -137,7 +137,7 @@ void init_udp_etf(int use_etf, int packet_priority, char *network_if) {
if (use_etf) {
sk_txtime.clockid = CLOCK_ID;
sk_txtime.flags = 1;
// sk_txtime.flags = SOF_TXTIME_REPORT_ERRORS;
sk_txtime.flags = SOF_TXTIME_REPORT_ERRORS;
if (setsockopt(fd, SOL_SOCKET, SO_TXTIME, &sk_txtime, sizeof(sk_txtime)))
error(EXIT_FAILURE, errno, "setsockopt SO_TXTIME failed\n");
......
Markdown is supported
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