From ebe89a6d89d89645bdbd575489b5fcd38f62ad25 Mon Sep 17 00:00:00 2001 From: "fredrik@DOLDA2000.COM" Date: Fri, 29 Apr 2005 11:58:10 +0000 Subject: [PATCH] Do IPv6 as well -- should be alright in idnlookup as it is. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@224 959494ce-11ee-0310-bf91-de5d638817bd --- idnlookup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/idnlookup.c b/idnlookup.c index d47b7de..2c49f87 100644 --- a/idnlookup.c +++ b/idnlookup.c @@ -164,7 +164,6 @@ int main(int argc, char **argv) } memset(&aihint, 0, sizeof(aihint)); - aihint.ai_family = PF_INET; /* Only IPv4 for now. */ aihint.ai_socktype = SOCK_RAW; aihint.ai_protocol = IPPROTO_ICMP; ret = getaddrinfo(argv[optind], NULL, &aihint, &ai); -- 2.11.0