diff --git a/docs/nmap.dtd b/docs/nmap.dtd index 0bfa426e8..0865d411b 100644 --- a/docs/nmap.dtd +++ b/docs/nmap.dtd @@ -132,7 +132,7 @@ + hostscript | trace)*, times ) > @@ -297,6 +297,13 @@ errorstr CDATA #IMPLIED > + + + diff --git a/nmap.cc b/nmap.cc index 05e288720..b09c1a241 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1764,6 +1764,8 @@ int nmap_main(int argc, char *argv[]) { if (o.debugging) log_write(LOG_STDOUT, "Final times for host: srtt: %d rttvar: %d to: %d\n", currenths->to.srtt, currenths->to.rttvar, currenths->to.timeout); + log_write(LOG_XML, "\n", + currenths->to.srtt, currenths->to.rttvar, currenths->to.timeout); log_write(LOG_NORMAL|LOG_SKID|LOG_STDOUT|LOG_MACHINE,"\n"); log_write(LOG_XML, "\n"); }