From 9f554129541b9b70284335c960df153aa062cfbc Mon Sep 17 00:00:00 2001 From: david Date: Fri, 26 Feb 2010 21:38:04 +0000 Subject: [PATCH] Initialize numhosts_up, numhosts_scanned, and numhosts_scanning in NmapOps::Initialize. --- NmapOps.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NmapOps.cc b/NmapOps.cc index e56be96d4..21074ad75 100644 --- a/NmapOps.cc +++ b/NmapOps.cc @@ -292,6 +292,9 @@ void NmapOps::Initialize() { log_errors = false; resolve_all = 0; dns_servers = NULL; + numhosts_scanned = 0; + numhosts_up = 0; + numhosts_scanning = 0; noninteractive = false; current_scantype = STYPE_UNKNOWN; ipoptions = NULL;