summaryrefslogtreecommitdiff
path: root/tools/libltgrey.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-11-24 19:40:13 -0800
committerJohn Denker <jsd@av8n.com>2012-11-24 19:40:13 -0800
commitf7de8573f5521263449fd80a2d5cdf3901b96087 (patch)
tree565829f500e520428cdb099bbc44a3351986f1dc /tools/libltgrey.c
parenta80d71e7dc3b46980b9f91c9238599fee26cc1b2 (diff)
Now can check to see if hostnames map to observed IP
Diffstat (limited to 'tools/libltgrey.c')
-rw-r--r--tools/libltgrey.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/libltgrey.c b/tools/libltgrey.c
index eb6d904..0538d5c 100644
--- a/tools/libltgrey.c
+++ b/tools/libltgrey.c
@@ -306,10 +306,9 @@ int whatsit::check_dns_sub(const char* ipvar, const char* namevar,
if (error == EAI_NONAME) return ex_badDNS;
if (error) {
cerr << progid
+ << " getaddrinfo for " << ipvar
<< " error " << error
- << " compare " << EAI_NONAME
- << " in getaddrinfo for " << ipvar
- << " :: " << gai_strerror(error) << endl;
+ << " i.e. " << gai_strerror(error) << endl;
return ex_dns_fail;
}