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

Andrew Cagney cagney at vault.libreswan.fi
Sun Jul 30 17:12:59 EEST 2023


New commits:
commit c1c7d044ef892052ef0d13ba2b33dc37901ebc04
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Jul 28 12:03:35 2023 -0400

    whack: convert OPTARG to UINTMAX_T inline
    
    - drop NUMERIC_ARG pre-processing
    
    - add check that the option has "required_argument"
      (i.e., OPTARG is valid)
    
    Per-comments a TODO is to replace more optarg_uintmax() calls with
    with arg parsing code from addconn.

commit ee7d98484d62a4d46eed8f626c76bbabb301d98a
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Jul 27 21:41:07 2023 -0400

    whack: add OPT_HELP et.al. with character values to option_enums

commit 4b815a09109c353ca875a3c10d0cadfa8d5e9834
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Jul 28 11:18:59 2023 -0400

    whack: use values >=256 for non character options
    
    - drop code biasing all options (including character
      options) by OPTION_OFFSET.
    
    Also fix --dns-match-id.  It had 00 instead of OO (aka OPTION_OFFSET)
    as the bias.

commit baefb9a7d1a0a5436b1ceb5b2a0a316e0ee55082
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Jul 27 21:41:07 2023 -0400

    whack: consolidate option ranges
    
    - put all non-end connection options into a single range
      (dropping things like the CDP range)
    
    - add BASIC range (shutdown, status) and use that
      when deciding if basic magic can be used
    
    - drop end_seen mask; instead use seen[]
    
    Also fix opportunistic code allowing connection address options.



More information about the Swan-commit mailing list