mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Hide a minor warning behind -v. Fixes #2166
This commit is contained in:
parent
9ac591f9db
commit
74296582e2
1 changed files with 2 additions and 1 deletions
3
nmap.cc
3
nmap.cc
|
|
@ -1121,7 +1121,8 @@ void parse_options(int argc, char **argv) {
|
|||
Snprintf(buf, 3, "P%c", *optarg);
|
||||
delayed_options.warn_deprecated(buf, "Pn");
|
||||
}
|
||||
error("Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.");
|
||||
if (o.verbose > 0)
|
||||
error("Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.");
|
||||
o.pingtype |= PINGTYPE_NONE;
|
||||
}
|
||||
else if (*optarg == 'R') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue