mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 05:29:02 +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) {
|
} else if (optcmp(long_options[option_index].name, "dns-servers") == 0) {
|
||||||
o.dns_servers = strdup(optarg);
|
o.dns_servers = strdup(optarg);
|
||||||
} else if (optcmp(long_options[option_index].name, "log-errors") == 0) {
|
} 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) {
|
} else if (optcmp(long_options[option_index].name, "deprecated-xml-osclass") == 0) {
|
||||||
o.deprecated_xml_osclass = true;
|
o.deprecated_xml_osclass = true;
|
||||||
} else if (strcmp(long_options[option_index].name, "webxml") == 0) {
|
} else if (strcmp(long_options[option_index].name, "webxml") == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user