diff --git a/src/iperf_udp.c b/src/iperf_udp.c index b697c9729..45e2e6454 100644 --- a/src/iperf_udp.c +++ b/src/iperf_udp.c @@ -250,8 +250,11 @@ iperf_udp_send(struct iperf_stream *sp) r = Nwrite(sp->socket, sp->buffer, size, Pudp); - if (r < 0) - return r; + if (r < 0) { + if (r == NET_SOFTERROR && sp->test->debug_level >= DEBUG_LEVEL_INFO) + printf("UDP send failed on NET_SOFTERROR. errno=%s\n", strerror(errno)); + return r; + } sp->result->bytes_sent += r; sp->result->bytes_sent_this_interval += r;