Corrected an issue where the service detection type was set twice if the

service was probed and found to be TCPWRAPPED.  The second type entry
was incorrect (set it to table) and has been removed.
This commit is contained in:
tomsellers 2010-12-29 17:25:57 +00:00
parent 497f725ba6
commit fda466c417

View file

@ -335,7 +335,6 @@ void PortList::setServiceProbeResults(u16 portno, int protocol,
port->service->dtype = SERVICE_DETECTION_PROBED;
if (sname == NULL)
sname = "tcpwrapped";
port->service->dtype = SERVICE_DETECTION_TABLE;
port->service->name_confidence = 8;
} else {
/* PROBESTATE_FINISHED_NOMATCH, PROBESTATE_EXCLUDED, PROBESTATE_INCOMPLETE.