mirror of
https://github.com/nmap/nmap.git
synced 2025-12-19 22:19:02 +00:00
Count ND probes in UltraScan::numProbesPerHost.
Now it shows Scanning 2 hosts [1 port/host] instead of Scanning 2 hosts [0 ports/host]
This commit is contained in:
@@ -1687,6 +1687,8 @@ unsigned int UltraScanInfo::numProbesPerHost()
|
|||||||
numprobes = ports->prot_count;
|
numprobes = ports->prot_count;
|
||||||
} else if (ping_scan_arp) {
|
} else if (ping_scan_arp) {
|
||||||
numprobes = 1;
|
numprobes = 1;
|
||||||
|
} else if (ping_scan_nd) {
|
||||||
|
numprobes = 1;
|
||||||
} else if (ping_scan) {
|
} else if (ping_scan) {
|
||||||
numprobes = 0;
|
numprobes = 0;
|
||||||
if (ptech.rawtcpscan) {
|
if (ptech.rawtcpscan) {
|
||||||
|
|||||||
Reference in New Issue
Block a user