mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 01:19:03 +00:00
Removed the log-errors option from the code, by treating it as if it was always true. This was done for the action item of o Remove Nmap's --log-errors feature and make its behavior the default. I also updated the docs/refguide.xml to reflect this change. I have not yet compiled the Dockbook.xml however.
This commit is contained in:
1
nmap.cc
1
nmap.cc
@@ -847,7 +847,6 @@ 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) {
|
||||
o.log_errors = 1;
|
||||
} 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