From ebf647e37b27fb08ffac0c7e79b866fa13706f08 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 14 Jun 2018 18:21:24 -0400 Subject: [PATCH] Allow connecting to remote IPv6 hosts for TCP or UDP This alone should allow interacting with IPv4 firewalling rules over IPv6, for these two protocols. --- client/spa_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/spa_comm.c b/client/spa_comm.c index 1afd914c..0f777192 100644 --- a/client/spa_comm.c +++ b/client/spa_comm.c @@ -98,7 +98,7 @@ send_spa_packet_tcp_or_udp(const char *spa_data, const int sd_len, memset(&hints, 0, sizeof(struct addrinfo)); - hints.ai_family = AF_INET; /* Allow IPv4 only */ + hints.ai_family = AF_UNSPEC; if (options->spa_proto == FKO_PROTO_UDP) {