1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fix sign and width issues around max_ips_to_scan. Fixes #2838. Fixes #2836

This commit is contained in:
dmiller
2024-06-04 18:22:17 +00:00
parent e4a4b2854f
commit 03c9f34959
5 changed files with 26 additions and 16 deletions

View File

@@ -98,7 +98,7 @@ public:
const std::list<struct sockaddr_storage> &get_unscanned_addrs(void) const;
/* is the current expression a named host */
int get_namedhost() const;
void generate_random_ips(int num_random);
void generate_random_ips(unsigned long num_random);
void reject_last_host();
private: