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

Andrew Cagney cagney at vault.libreswan.fi
Fri Nov 4 20:30:17 EET 2022


New commits:
commit b3b15b35acb5c917334874b401221c79681a615b
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Nov 4 11:22:51 2022 -0400

    connections: determine connection_kind directly from whack message
    
    ... not from extracted values (such as in the spd)
    
    Note that this code:
    -       struct spd_end *wild_side =
    -               (!address_is_specified(c->local->host.addr) ||
    -                c->local->config->child.protoport.has_port_wildcard ||
    -                id_has_wildcards(&c->local->host.id) ? c->spd->local : c->spd->remote);
    was identifying something like:
      left=address
      leftprotoport=tcp/23
      leftid=*
      right=%any
      rightprotoport=%any
      rightid=*
    as a permenant connection; the new code identifies it as a template



More information about the Swan-commit mailing list