mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Certain variables are now unsigned int instead of int to accommodate full internet scans
This commit is contained in:
@@ -285,7 +285,7 @@ class NmapOps {
|
||||
/* Gets the spoofed MAC address, but returns NULL if it hasn't been set */
|
||||
const u8 *spoofMACAddress() { return spoof_mac_set? spoof_mac : NULL; }
|
||||
|
||||
int max_ips_to_scan; // Used for Random input (-iR) to specify how
|
||||
unsigned int max_ips_to_scan; // Used for Random input (-iR) to specify how
|
||||
// many IPs to try before stopping. 0 means unlimited.
|
||||
int extra_payload_length; /* These two are for --data-length op */
|
||||
char *extra_payload;
|
||||
@@ -401,8 +401,8 @@ class NmapOps {
|
||||
int ipopt_lasthop; // offset in ipoptions where is space for targets ip for source/strict routing
|
||||
|
||||
// Statistics Options set in nmap.cc
|
||||
int numhosts_scanned;
|
||||
int numhosts_up;
|
||||
unsigned int numhosts_scanned;
|
||||
unsigned int numhosts_up;
|
||||
int numhosts_scanning;
|
||||
stype current_scantype;
|
||||
bool noninteractive;
|
||||
|
||||
Reference in New Issue
Block a user