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:
parent
44c3defa4c
commit
ebf647e37b
@ -98,7 +98,7 @@ send_spa_packet_tcp_or_udp(const char *spa_data, const int sd_len,
|
|||||||
|
|
||||||
memset(&hints, 0, sizeof(struct addrinfo));
|
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)
|
if (options->spa_proto == FKO_PROTO_UDP)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user