summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xtables.c b/xtables.c
index f66fb275..83c5b41f 100644
--- a/xtables.c
+++ b/xtables.c
@@ -1424,8 +1424,6 @@ host_to_ip6addr(const char *name, unsigned int *naddr)
hints.ai_flags = AI_CANONNAME;
hints.ai_family = AF_INET6;
hints.ai_socktype = SOCK_RAW;
- hints.ai_protocol = IPPROTO_IPV6;
- hints.ai_next = NULL;
*naddr = 0;
if ((err = getaddrinfo(name, NULL, &hints, &res)) != 0) {