mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Added a comment explaining the log-errors handling section
This commit is contained in:
3
nmap.cc
3
nmap.cc
@@ -847,6 +847,9 @@ void parse_options(int argc, char **argv) {
|
||||
} else if (optcmp(long_options[option_index].name, "dns-servers") == 0) {
|
||||
o.dns_servers = strdup(optarg);
|
||||
} else if (optcmp(long_options[option_index].name, "log-errors") == 0) {
|
||||
/*Nmap Log errors is depreciated and is now always enabled by default.
|
||||
This option is left in so as to not break anybody's scanning scripts.
|
||||
However it does nothing*/
|
||||
} else if (optcmp(long_options[option_index].name, "deprecated-xml-osclass") == 0) {
|
||||
o.deprecated_xml_osclass = true;
|
||||
} else if (strcmp(long_options[option_index].name, "webxml") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user