1
0
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:
tudor
2016-08-07 16:05:47 +00:00
parent 89e4901d49
commit 78435476df

View File

@@ -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;