New commits:
commit 0c6580e00dce7191b158652c3afe415b8df50d72
Merge: 3f93186c1e 5f79597aca
Author: Andrew Cagney <cag...@gnu.org>
Date:   Wed Jun 11 16:31:07 2025 -0400

    Merge connections: re-work code extracting host+nexthop
    
    Treat %blah[46] as %blah + hostaddrfamily=IPv[46]
    
    fix #2235 %defaultroute6 broken

commit 5f79597acaaa54a74c4dd8506762814aba7be1f8
Author: Andrew Cagney <cag...@gnu.org>
Date:   Tue Jun 10 17:05:44 2025 -0400

    connections: merge/simplify the extract (raw) host/nexthop code
    
    Step 1: extract raw {left,right}{host,nexthop} values
    
    - use extract_resolve_host()
    - translate %blah into .type=KH_BLAH
    - translate %blah[46] into %blah+hostaddrfamily=[46]
    - translate %iface? into .type=KH_IFACE (and not KH_IPADDR)
      (looking up iface is part of step 2)
    - check AFI is consistent between fields
    - add KH_DIRECT / %direct to %blah table
    
    Step 2:
    
    - default AFI to IPv4
    - when KH_IFACE, look up the interface
    - fill in .host with AFI->host.unset when needed
    
    Step 3:
    
    - resolve
    
    (there is no longer a step 4)

commit d7c2d527df5a6fda52bf2a3fc1ee636a96ae7f97
Author: Andrew Cagney <cag...@gnu.org>
Date:   Wed Jun 11 13:59:04 2025 -0400

    testing: update error messages

commit 99038007df35041db733854e49545e7f776091d2
Author: Andrew Cagney <cag...@gnu.org>
Date:   Wed Jun 11 10:37:24 2025 -0400

    testing: add nexthop=%direct et.al. to addconn-07-defaultroute

commit 51c61d4f867fb6158c24d9fe00ea30e5139e044c
Author: Andrew Cagney <cag...@gnu.org>
Date:   Tue Jun 10 16:23:31 2025 -0400

    connections: factor out check_afi()
    
    to compare host AFI against host addresses

commit ca65f2c852056092d9958e6dad1e17af1cf7b7fd
Author: Andrew Cagney <cag...@gnu.org>
Date:   Tue Jun 10 11:06:15 2025 -0400

    connections: extract .hostaddrfamily first

_______________________________________________
Swan-commit mailing list -- swan-commit@lists.libreswan.org
To unsubscribe send an email to swan-commit-le...@lists.libreswan.org

Reply via email to