mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
Make NetBlockRandomIPv4 responsible for tracking number of random addrs
This commit is contained in:
@@ -100,11 +100,10 @@ public:
|
||||
/* Returns true iff the defer buffer is not yet full. */
|
||||
bool defer(Target *t);
|
||||
void undefer();
|
||||
const char *next_expression();
|
||||
bool get_next_host(struct sockaddr_storage *ss, size_t *sslen, struct addrset *exclude_group);
|
||||
private:
|
||||
int num_random;
|
||||
bool process_next_expression();
|
||||
const char *next_expression();
|
||||
};
|
||||
|
||||
/* ports is used to pass information about what ports to use for host discovery */
|
||||
|
||||
Reference in New Issue
Block a user