mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
Make base_port a member of UltraScanInfo.
This commit is contained in:
@@ -969,6 +969,7 @@ void UltraScanInfo::Init(std::vector<Target *> &Targets, const struct scan_lists
|
||||
ethsd = NULL;
|
||||
}
|
||||
}
|
||||
base_port = UltraScanInfo::increment_base_port();
|
||||
}
|
||||
|
||||
/* Return the total number of probes that may be sent to each host. This never
|
||||
@@ -2730,8 +2731,6 @@ void ultra_scan(std::vector<Target *> &Targets, const struct scan_lists *ports,
|
||||
stype scantype, struct timeout_info *to) {
|
||||
o.current_scantype = scantype;
|
||||
|
||||
increment_base_port();
|
||||
|
||||
/* Load up _all_ payloads into a mapped table. Only needed for raw scans. */
|
||||
|
||||
init_payloads();
|
||||
|
||||
Reference in New Issue
Block a user