-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Expected Behavior
nemesis should quit after the last frame has been sent and not wait for -i or the default of 1 second.
Actual Behavior
nemesis waits for -i after the last frame has been sent.
Steps to Reproduce the Problem
send a frame ;)
Specifications
- Version: 1.6
- Platform: Ubuntu bionic
Solution
For me, it seem line 344 of nemesis-functions.c isn't working as it should.
344 if (count != 0 && interval >= 0)
345 usleep(interval);
If count would be 0, it should not sleep. So I think there's an issue with the counter (off by one?)
Metadata
Metadata
Assignees
Labels
No labels