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

Andrew Cagney cagney at vault.libreswan.fi
Tue Oct 8 15:42:11 UTC 2019

New commits:
commit e212da7a063920bafa236bd5be3eb8994ece60c2
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Oct 7 21:15:06 2019 -0400

    ip: turn addrtosubnet() into a wrapper that takes an endpoint
    Since the code expects to set the subnet's port (could be zero) as a
    side effect of copying the first parameter (which contains an embedded
    port) into subnet.addr (remember, historically, this was all
    implemented using a sockaddr and that has an embedded port).
    Implement using subnet_from_{address,endpoint}().  Debug-log all calls
    - who knew pluto created the subnet HOST_IP:8 when an acquire was
    triggered by a ping packet.

More information about the Swan-commit mailing list