Commit 773ed882 authored by Joanne Hugé's avatar Joanne Hugé

Fix small mistakes

parent efa7397b
......@@ -158,7 +158,7 @@ packet_info_t send_udp_packet(int use_etf, int use_timestamps,
sin.sin_addr.s_addr = inet_addr(server_ip);
sin.sin_port = htons(SERVER_PORT_INT);
iov.iov_base = &tx_buffer;
iov.iov_base = tx_buffer;
iov.iov_len = tx_buffer_len;
memset(&msg, 0, sizeof(msg));
......
......@@ -217,10 +217,9 @@ int main(int argc, char *argv[]) {
if(tsn_task == RECV_PACKET_TASK) {
diff = ((int64_t)stats->max_interval) - stats->min_interval;
printf( "(%d) Jitter : %" PRIi64 " [Packet data: %s (%x)]\n",
printf( "(%d) Jitter : %" PRIi64 " [Packet data: %s]\n",
stats->packets_received,
diff,
stats->packet_info.data,
stats->packet_info.data);
if(enable_timestamps) {
......
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