mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Rename o.resolve_all to o.always_resolve
This is the flag for the -R option. "always" is more appropriate than "all," since "resolveall.nse" does something different, and there is a "resolve_all" function that does that thing as well, unrelated to the -R option.
This commit is contained in:
@@ -1431,7 +1431,7 @@ static char *num_to_string_sigdigits(double d, int digits) {
|
||||
/* Writes a heading for a full scan report ("Nmap scan report for..."),
|
||||
including host status and DNS records. */
|
||||
void write_host_header(Target *currenths) {
|
||||
if ((currenths->flags & HOST_UP) || o.verbose || o.resolve_all) {
|
||||
if ((currenths->flags & HOST_UP) || o.verbose || o.always_resolve) {
|
||||
if (currenths->flags & HOST_UP) {
|
||||
log_write(LOG_PLAIN, "Nmap scan report for %s\n", currenths->NameIP());
|
||||
} else if (currenths->flags & HOST_DOWN) {
|
||||
|
||||
Reference in New Issue
Block a user