mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
Keep trace of the list of addresses a name resolved to, and print out
how many there were if there were more than one.
This commit is contained in:
5
Target.h
5
Target.h
@@ -283,6 +283,11 @@ class Target {
|
||||
struct probespec traceroute_probespec;
|
||||
std::list <TracerouteHop> traceroute_hops;
|
||||
|
||||
/* If the address for this target came from a DNS lookup, the list of
|
||||
resultant addresses (sometimes there are more than one). The address
|
||||
actually used is always the first element in this list. */
|
||||
std::list<struct sockaddr_storage> resolved_addrs;
|
||||
|
||||
#ifndef NOLUA
|
||||
ScriptResults scriptResults;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user