Closed dlon closed 2 years ago
udp-bind defaults to 0.0.0.0 for tcp2udp. This means that AF_INET is used as the address family even if the destination is an IPv6 address. This PR fixes this by binding the socket to :: by default if the destination is an IPv6 address.
udp-bind
0.0.0.0
tcp2udp
AF_INET
::
This change is
udp-bind
defaults to0.0.0.0
fortcp2udp
. This means thatAF_INET
is used as the address family even if the destination is an IPv6 address. This PR fixes this by binding the socket to::
by default if the destination is an IPv6 address.This change is