1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Support forward-DNS in mass_dns (1 addr per name)

This commit is contained in:
dmiller
2024-04-25 17:12:29 +00:00
parent 924f91eb20
commit 480803e24a
2 changed files with 102 additions and 77 deletions

View File

@@ -252,7 +252,7 @@ struct Request
RECORD_TYPE type;
struct sockaddr_storage ss;
std::string name;
Request() : type(NONE), name() {}
Request() : type(NONE), name() {ss.ss_family = AF_UNSPEC;}
const char *repr(); // string representation
};
}