mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
we generally don't update the xmlversion just for a new attribute. Doing so may cause more trouble than its worth, though I'm open to convincing
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -1499,7 +1499,7 @@ int nmap_main(int argc, char *argv[]) {
|
||||
for(i=0; i < argc; i++)
|
||||
log_write(LOG_XML, (i == argc-1)? "%s\" " : "%s ", fakeargv[i]);
|
||||
|
||||
log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.03\">\n",
|
||||
log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.02\">\n",
|
||||
(unsigned long) timep, mytime, NMAP_VERSION);
|
||||
|
||||
output_xml_scaninfo_records(&ports);
|
||||
|
||||
Reference in New Issue
Block a user