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.
This commit is contained in:
Pierre Pronchery 2018-06-14 18:21:24 -04:00
parent 44c3defa4c
commit ebf647e37b

View File

@ -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)
{