From 77d3994bc8bfb21dffa656ecc2814f4feba66328 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 30 Aug 2011 23:55:12 +0000 Subject: [PATCH] Count ND probes in UltraScan::numProbesPerHost. Now it shows Scanning 2 hosts [1 port/host] instead of Scanning 2 hosts [0 ports/host] --- scan_engine.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scan_engine.cc b/scan_engine.cc index 30fddd8a6..6264841e9 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -1687,6 +1687,8 @@ unsigned int UltraScanInfo::numProbesPerHost() numprobes = ports->prot_count; } else if (ping_scan_arp) { numprobes = 1; + } else if (ping_scan_nd) { + numprobes = 1; } else if (ping_scan) { numprobes = 0; if (ptech.rawtcpscan) {