diff --git a/service_scan.cc b/service_scan.cc index e66df8f61..cbe7e566c 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -2204,9 +2204,10 @@ static void servicescan_read_handler(nsock_pool nsp, nsock_event nse, void *myda MD->serviceName, (MD->product)? MD->product : "", (MD->version)? MD->version : "", (MD->info)? MD->info : ""); else - log_write(LOG_PLAIN, "Service scan %s match (Probe %s matched with %s): %s:%hu is %s%s\n", + log_write(LOG_PLAIN, "Service scan %s match (Probe %s matched with %s line %d): %s:%hu is %s%s\n", (MD->isSoft)? "soft" : "hard", probe->getName(), (*probe->fallbacks[fallbackDepth]).getName(), + MD->lineno, svc->target->targetipstr(), svc->portno, (svc->tunnel == SERVICE_TUNNEL_SSL)? "SSL/" : "", MD->serviceName); } svc->probe_matched = MD->serviceName;