1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00

fix xml bug

This commit is contained in:
fyodor
2007-03-18 01:00:32 +00:00
parent 888af63431
commit e02e4cfef2
2 changed files with 6 additions and 0 deletions

View File

@@ -1339,6 +1339,7 @@ void printosscanoutput(Target *currenths) {
if (currenths->distance != -1)
distance = currenths->distance;
log_write(LOG_XML, "<os>");
if (FPR->osscan_closedtcpport > 0) {
log_write(LOG_XML,
"<portused state=\"closed\" proto=\"tcp\" portid=\"%hu\" />\n",