From: fredrik@DOLDA2000.COM Date: Fri, 29 Apr 2005 11:58:10 +0000 (+0000) Subject: Do IPv6 as well -- should be alright in idnlookup as it is. X-Git-Url: http://dolda2000.com/gitweb/?p=icmp-dn.git;a=commitdiff_plain;h=ebe89a6d89d89645bdbd575489b5fcd38f62ad25;hp=f0df8f66ac34f08e871eaf4bd1e04303d97df032 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 --- 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);