mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 15:09:02 +00:00
Reduce sockaddr comparisons in raw scans
This commit is contained in:
@@ -967,6 +967,8 @@ void UltraScanInfo::Init(std::vector<Target *> &Targets, const struct scan_lists
|
||||
unblock_socket(rawsd);*/
|
||||
ethsd = NULL;
|
||||
}
|
||||
/* Raw scan types also need to know the source IP. */
|
||||
Targets[0]->SourceSockAddr(&sourceSockAddr, NULL);
|
||||
}
|
||||
base_port = UltraScanInfo::increment_base_port();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user