Commit 8b44c169 authored by Joanne Hugé's avatar Joanne Hugé

Fix segmentation fault

parent 1de2aa6a
......@@ -258,7 +258,7 @@ static void do_tsn_task(struct thread_param *param, uint64_t next_txtime) {
fprintf(stderr, "RTT value higher than MAX_HIST_VAL : %d ( > %d)\n", rtt_us, MAX_HIST_VAL);
exit(EXIT_FAILURE);
}
histograms[0][param->stats.rtt]++;
histograms[0][rtt_us]++;
}
}
}
......
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