mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Allow splitting up hostgroups on different interfaces for IPv6.
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -1780,7 +1780,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (o.af() == AF_INET && o.RawScan()) {
|
if (o.RawScan()) {
|
||||||
if (currenths->SourceSockAddr(NULL, NULL) != 0) {
|
if (currenths->SourceSockAddr(NULL, NULL) != 0) {
|
||||||
if (o.SourceSockAddr(&ss, &sslen) == 0) {
|
if (o.SourceSockAddr(&ss, &sslen) == 0) {
|
||||||
currenths->setSourceSockAddr(&ss, sslen);
|
currenths->setSourceSockAddr(&ss, sslen);
|
||||||
|
|||||||
Reference in New Issue
Block a user