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

Andrew Cagney cagney at vault.libreswan.fi
Thu Oct 7 00:53:56 UTC 2021


New commits:
commit 1f3a0fa86afc392d6684e33f6a61010512664e96
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Oct 5 22:14:53 2021 -0400

    testing: update verbose output from addconn

commit 337331088f021759fe0c4426717fd2db1c01533c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Oct 4 18:28:17 2021 -0400

    addr_lookup: general overhaul
    
    - use sockaddr_to_address_port() + data_to_address() to convert
      raw kernel bytes directly to ip_address (not via a string)
    - pretty-print logging with more details
    - show the entire response
    - determine seeking = {PREFSRC, GATEWAY, NOTHING} at start
    - return fail when nothing found, was returning try-again say
    - bail from loop and return success when prefsrc found
    - bail from loop and return please-call-again when gateway found
      (arguably this could return success when prefsrc isn't needed
       but better still is is for caller to specify seeking)



More information about the Swan-commit mailing list