New commits: commit 3a360f453223af84a13c4e906fc1c3b412fe89fc Author: Andrew Cagney <cag...@gnu.org> Date: Thu Oct 3 11:05:07 2019 -0400
eroute: change said_af's type from int to const struct ip_info* - use said_{address,type}() to get ip_info - use domain_to_address(ip_info) to do lookups commit d94195888ea1f80f5580123f144372b87ed3969e Author: Andrew Cagney <cag...@gnu.org> Date: Wed Oct 2 12:34:51 2019 -0400 ip: add ttoaddr() variants that take 'ip_info*type' instead of 'int af' - eliminate need for dangerous dereference in ttoaddr(<IP>_type(ip)->af) - name them {domain,numeric}_to_address() so that the version that could do a DNS lookup is less obscure - instead of fuzzy srclen==0 logic, pass the string as a shunk_t - always set the result parameter to something _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit