One liner. Change 'LOG_STDOUT|LOG_SKID|LOG_PLAIN' in a log_write() (traceroute) in nmap.cc to just 'LOG_PLAIN' because it's defined to 'LOG_NORMAL|LOG_SKID|LOG_STDOUT'

This commit is contained in:
kris 2007-03-15 20:19:37 +00:00
parent 5fe85c2dec
commit 528bec100a

View file

@ -1602,7 +1602,7 @@ int nmap_main(int argc, char *argv[]) {
printmacinfo(currenths);
troute->outputTarget(currenths);
log_write(LOG_XML, "</host>\n");
log_write(LOG_STDOUT|LOG_SKID|LOG_PLAIN,"\n");
log_write(LOG_PLAIN,"\n");
delete currenths;
Targets.erase(Targets.begin());
}