[Swan-commit] Changes to ref refs/heads/master

Andrew Cagney cagney at vault.libreswan.fi
Sat Oct 5 13:12:22 UTC 2019


New commits:
commit 3a360f453223af84a13c4e906fc1c3b412fe89fc
Author: Andrew Cagney <cagney at 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 <cagney at 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



More information about the Swan-commit mailing list