New commits: commit 379929c054bbe6022abbc456f5c1fd9bd453470d Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Mon May 3 12:37:40 2021 -0400
libswan/ttoaddress.c: use getaddrinfo(3) instead of gethostbyname2(3) Modernization. Much simplification. I'm not sure if we lose support for hex representation of IP addresses. Unit tests still pass. I'm not sure if what happens when putitive domain names contain bad characters. Unit tests still pass. We always accept the first result from getaddrinfo(3). This may change prioritization of IPv4 vs IPv6, but at least it matches RFC 3484 (according to the man page). _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit