mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 19:09:01 +00:00
Some patches from Marek
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -1075,6 +1075,8 @@ int nmap_main(int argc, char *argv[]) {
|
||||
if (o.scan_delay > o.maxTCPScanDelay()) o.setMaxTCPScanDelay(o.scan_delay);
|
||||
if (o.scan_delay > o.maxUDPScanDelay()) o.setMaxUDPScanDelay(o.scan_delay);
|
||||
o.max_parallelism = 1;
|
||||
if(pre_max_parallelism != -1)
|
||||
fatal("You can't use --max-parallelism with --scan-delay.");
|
||||
}
|
||||
if (pre_max_scan_delay != -1) {
|
||||
o.setMaxTCPScanDelay(pre_max_scan_delay);
|
||||
|
||||
Reference in New Issue
Block a user