mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +00:00
Merge r30416:30527 from /nmap-exp/david/ipv6-ranges.
This is a refactoring of target parsing that stores different types of target specifications as different classes. The eventual intention is to allow easy iteration over each specification for the purpose of IPv6 multicast host discovery.
This commit is contained in:
@@ -545,7 +545,7 @@ size_t read_host_from_file(FILE *fp, char *buf, size_t n);
|
||||
/* Return next target host specification from the supplied stream.
|
||||
* if parameter "random" is set to true, then the function will
|
||||
* return a random, non-reserved, IP address in decimal-dot notation */
|
||||
char *grab_next_host_spec(FILE *inputfd, bool random, int argc, char **fakeargv);
|
||||
const char *grab_next_host_spec(FILE *inputfd, bool random, int argc, const char **fakeargv);
|
||||
|
||||
#ifdef WIN32
|
||||
/* Convert a dnet interface name into the long pcap style. This also caches the
|
||||
|
||||
Reference in New Issue
Block a user