-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug Fix] Fix Speed Tester NF Generated Packets Counter (#96)
This PR fixes packet generation the Speed Tester NF, with this change if we can't generate the X requested packets and we only generate Z packets we will enqueue Z packets. Before we enqueued X packets, causing a SEGFAULT because some packets would be NULL. Commit log: * Packet number bug fix * Suggested fixes for review * Had to fix both conditionals * More code style fixes * Fixed placement of counter initialization * Check for uninitialized packets * Fix style, add space * Style nit, I need to train my eyes
- Loading branch information
Showing
1 changed file
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters