forked from romana/multi-ping
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs romana#23: fixed multi_ping retry
Now the multi_ping retry functionality works correctly. The issue was that an ICMP retry packet was sent with a new ID, but the receive function was still checking packets using old IDs. Now the remainings_id is reinitialized with the new ids during each sends. This way the receive function always used the latest ids for packet matching. The source address of the packet has also been added to the packet matching to make the request/reply match more robust.
- Loading branch information
Schaffner Brice METAS
committed
Apr 11, 2019
1 parent
c6e4a29
commit 5926a28
Showing
1 changed file
with
15 additions
and
16 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