diff options
author | Bruce A. Mah <bmah@es.net> | 2020-05-11 12:21:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 12:21:26 -0700 |
commit | 1521d9b522fa2ee5a35c8d06a3372290938660bf (patch) | |
tree | 02a549333ec2e59bd4021d7b0b947dc97222de48 | |
parent | 06280a6d0139b314ac05de111e8d6f508b1b6a50 (diff) | |
download | iperf3-1521d9b522fa2ee5a35c8d06a3372290938660bf.tar.gz |
bug(udp): Fix minor problem in a debug message. (#995)
Fixes #993. Submitted by @davidBar-On.
-rw-r--r-- | src/iperf_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iperf_udp.c b/src/iperf_udp.c index 3623504..2245825 100644 --- a/src/iperf_udp.c +++ b/src/iperf_udp.c @@ -1,5 +1,5 @@ /* - * iperf, Copyright (c) 2014-2018, The Regents of the University of + * iperf, Copyright (c) 2014-2020, The Regents of the University of * California, through Lawrence Berkeley National Laboratory (subject * to receipt of any required approvals from the U.S. Dept. of * Energy). All rights reserved. @@ -150,7 +150,7 @@ iperf_udp_recv(struct iperf_stream *sp) /* Log the out-of-order packet */ if (sp->test->debug) - fprintf(stderr, "OUT OF ORDER - incoming packet sequence %" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count, sp->socket); + fprintf(stderr, "OUT OF ORDER - incoming packet sequence %" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count + 1, sp->socket); } /* |