1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Don't scan infinite random when no targets specified

This commit is contained in:
dmiller
2024-06-05 16:09:58 +00:00
parent c6ffdbf7ae
commit a908872dae
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ public:
/* The maximum number of entries we want to allow storing in defer_buffer. */
static const unsigned int DEFER_LIMIT = 64;
HostGroupState(int lookahead, int randomize, unsigned long num_random, int argc, const char *argv[]);
HostGroupState(int lookahead, int randomize, bool gen_rand, unsigned long num_random, int argc, const char *argv[]);
~HostGroupState();
Target **hostbatch;