Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid division by zero in calculation of loss rate #297

Merged
merged 1 commit into from
Oct 28, 2014

Conversation

dpino
Copy link
Contributor

@dpino dpino commented Oct 27, 2014

If there are no packets sent, print loss rate '0' instead of 'NaN'.

If there are no packets sent, print loss rate '0' instead of 'NaN'.
lukego added a commit that referenced this pull request Oct 28, 2014
Avoid division by zero in calculation of loss rate
@lukego lukego merged commit fba581c into snabbco:master Oct 28, 2014
@dpino dpino deleted the loss-rate-avoid-division-by-zero branch November 17, 2014 16:17
dpino added a commit to dpino/snabb that referenced this pull request Apr 26, 2016
Implement dumping of lwAFTR conf file and binding table
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.

2 participants