1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00

Allow splitting up hostgroups on different interfaces for IPv6.

This commit is contained in:
david
2011-06-17 05:47:31 +00:00
parent 08faad4ca5
commit e4498838b7

View File

@@ -1780,7 +1780,7 @@ int nmap_main(int argc, char *argv[]) {
continue;
}
if (o.af() == AF_INET && o.RawScan()) {
if (o.RawScan()) {
if (currenths->SourceSockAddr(NULL, NULL) != 0) {
if (o.SourceSockAddr(&ss, &sslen) == 0) {
currenths->setSourceSockAddr(&ss, sslen);