1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Fix error when -sU --open used together, since r36450

This commit is contained in:
dmiller
2016-12-15 21:01:36 +00:00
parent 4bd67aa2fb
commit 916ce30d0f

View File

@@ -561,7 +561,7 @@ dialog where you can start NPF if you have administrator privileges.";
if (servicescan && noportscan)
servicescan = 0;
if (defeat_rst_ratelimit && !synscan) {
if (defeat_rst_ratelimit && !synscan && !openOnly()) {
fatal("Option --defeat-rst-ratelimit works only with a SYN scan (-sS)");
}