mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Use a header file constant for xmloutputversion.
This commit is contained in:
parent
0c8d6c9af1
commit
56b7063aa9
2 changed files with 3 additions and 1 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -1638,7 +1638,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||
xml_attribute("start", "%lu", (unsigned long) timep);
|
||||
xml_attribute("startstr", "%s", mytime);
|
||||
xml_attribute("version", "%s", NMAP_VERSION);
|
||||
xml_attribute("xmloutputversion", "1.04");
|
||||
xml_attribute("xmloutputversion", NMAP_XMLOUTPUTVERSION);
|
||||
xml_close_start_tag();
|
||||
xml_newline();
|
||||
|
||||
|
|
|
|||
2
nmap.h
2
nmap.h
|
|
@ -239,6 +239,8 @@ void *realloc();
|
|||
earlier) than NMAP_VERSION. */
|
||||
#define NMAP_UPDATE_CHANNEL "5.61TEST4"
|
||||
|
||||
#define NMAP_XMLOUTPUTVERSION "1.04"
|
||||
|
||||
/* User configurable #defines: */
|
||||
#define MAX_PROBE_PORTS 10 /* How many TCP probe ports are allowed ? */
|
||||
/* Default number of ports in parallel. Doesn't always involve actual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue