mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +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:
parent
3a67da3a7e
commit
30e26e481e
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@
|
|||
start %attr_numeric; #IMPLIED
|
||||
startstr CDATA #IMPLIED
|
||||
version CDATA #REQUIRED
|
||||
xmloutputversion (1.03) #REQUIRED
|
||||
xmloutputversion (1.02) #REQUIRED
|
||||
>
|
||||
|
||||
<!-- this element is written in output.c:doscaninfo() -->
|
||||
|
|
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue