mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid warning about --defeat-rst-ratelimit when TCP scan was not even done. Fixes #727
This commit is contained in:
parent
36301d6ddd
commit
b4924eb362
1 changed files with 1 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ void printportoutput(Target *currenths, PortList *plist) {
|
|||
|
||||
if (prevstate != PORT_UNKNOWN) {
|
||||
log_write(LOG_PLAIN, "\n");
|
||||
if (o.defeat_rst_ratelimit) {
|
||||
if (o.defeat_rst_ratelimit && o.TCPScan()) {
|
||||
log_write(LOG_PLAIN, "Some closed ports may be reported as filtered due to --defeat-rst-ratelimit\n");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue