Skip to content

Conversation

@davidBar-On
Copy link
Contributor

Fix backward compatibility issue of client showing UDP 0 packets loss, although packets were lost. The issue is with older iperf3 servers that did not send committed packets into.

The main issue was that for some reason, the committed error count variable was not auto initialized to zero. However, when I added a printf() of its value, it was initialized to 0. Maybe a compiler issue, as the later initialization of the variable is done under if statement with no else.

For robustness, also ignored the omitted values if committing time is not specified. That allows showing the real packets loss when server does not support sending the omitting info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant