1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00
This commit is contained in:
fyodor
2005-06-24 23:50:23 +00:00
parent 1b19b91884
commit 2c2cc2f9a9
13 changed files with 3358 additions and 1343 deletions

View File

@@ -405,14 +405,6 @@ int PortList::addPort(u16 portno, u8 protocol, char *owner, int state) {
statenum2str(state), portno,
proto2ascii(protocol), msg, idstr? idstr : "");
log_flush(LOG_STDOUT);
/* Write out add port messages for XML format so wrapper libraries
can use it and not have to parse LOG_STDOUT ;), which is a
pain! REMOVED now that Nmap scans multiple hosts in parallel.
This addport does not even tell which host the new port was
on. */
// log_write(LOG_XML, "<addport state=\"%s\" portid=\"%hu\" protocol=\"%s\" owner=\"%s\"/>\n", statenum2str(state), portno, proto2ascii(protocol), ((owner && *owner) ? owner : ""));
log_flush(LOG_XML);
}