forked from schweikert/fping
-
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.
check address family consistency in generator
Before, "fping -6 -g IPv4_ADDR_SPEC" would generate all requested IPv4 addresses and try to add them to the host table, but that would fail because of address family mismatch. Now, "fping -6 -g IPv4_ADDR_SPEC" detects the problem before generating any addresses, and fails early. Mixing IPv4 and IPv6 addresses when using -g START END is detected before generating any addresses and fails early, too.
- Loading branch information
Showing
2 changed files
with
103 additions
and
6 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
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