1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 21:59:02 +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:
david
2009-10-27 06:08:04 +00:00
parent 030411ffd8
commit 398e53b3de
5 changed files with 53 additions and 9 deletions

View File

@@ -463,6 +463,7 @@ do {
if (hs->current_expression.is_resolved_address(&ss)) {
if (hs->current_expression.get_namedhost())
hs->hostbatch[hidx]->setTargetName(hs->current_expression.get_resolved_name());
hs->hostbatch[hidx]->resolved_addrs = hs->current_expression.get_resolved_addrs();
}
/* We figure out the source IP/device IFF