From fafcef637f5892aaea06e2e2ba3a41e215a045d5 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 4 Mar 2010 21:56:29 +0000 Subject: [PATCH] simple comment and whitespace fix --- idle_scan.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idle_scan.cc b/idle_scan.cc index eb4ccbadd..fde4ce365 100644 --- a/idle_scan.cc +++ b/idle_scan.cc @@ -1032,11 +1032,11 @@ void idle_scan(Target *target, u16 *portarray, int numports, SPM.endTask(NULL, additional_info); /* Now we go through the ports which were scanned but not determined - to be open, and add them in the "closed" state */ + to be open, and add them in the "closed|filtered" state */ for(portidx = 0; portidx < numports; portidx++) { if (target->ports.portIsDefault(portarray[portidx], IPPROTO_TCP)) { target->ports.setPortState(portarray[portidx], IPPROTO_TCP, PORT_CLOSEDFILTERED); - target->ports.setStateReason(portarray[portidx], IPPROTO_TCP, ER_NOIPIDCHANGE, 0, 0); + target->ports.setStateReason(portarray[portidx], IPPROTO_TCP, ER_NOIPIDCHANGE, 0, 0); } else target->ports.setStateReason(portarray[portidx], IPPROTO_TCP, ER_IPIDCHANGE, 0, 0); }