From e02e4cfef27f4d1440d632a3c0de23d7f39dcfbb Mon Sep 17 00:00:00 2001 From: fyodor Date: Sun, 18 Mar 2007 01:00:32 +0000 Subject: [PATCH] fix xml bug --- CHANGELOG | 5 +++++ output.cc | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 11c2b1beb..c389ab030 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,9 @@ # Nmap Changelog ($Id$); -*-text-*- + +o Fix XML output so that the opening tag is printed again. The + line which prints this was somehow removed when NSE was integrated. + Thanks to Joshua Abraham for reporthing the problem. + o Fix a small bug in traceroute progress output which neglected printing when it was completed. This caused weirdness, especially when multiple hosts were scanned. [Kris] diff --git a/output.cc b/output.cc index c8daacd00..2e9156043 100644 --- a/output.cc +++ b/output.cc @@ -1339,6 +1339,7 @@ void printosscanoutput(Target *currenths) { if (currenths->distance != -1) distance = currenths->distance; + log_write(LOG_XML, ""); if (FPR->osscan_closedtcpport > 0) { log_write(LOG_XML, "\n",