mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
misc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user