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

Andrew Cagney cagney at vault.libreswan.fi
Fri Jun 21 00:14:06 UTC 2019


New commits:
commit e46cc8958a2d7b8c7e0baff57c8a497066caf7d9
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Jun 19 21:15:28 2019 -0400

    ip_address: simplify initaddr()
    
    Per 610801f8f1d324ee343442518f2c04c248b09fc7, replace SET_V[46]() and
    internal grubbing with {in,in6}_addr and address_from_*_addr().
    
    Toss the #ifdef KERNEL code.

commit e1b6d3cf12992beed048afd35ce6502916402b8b
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Jun 19 21:39:55 2019 -0400

    demux: use sockaddr_as_endpoint(&sender) to simplify the recvfrom() error logging
    
    The two if()s blocks that, combined, emit the different errors are
    merged (the actual errors shouldn't change, but I suspect they could
    do with a review).

commit 610801f8f1d324ee343442518f2c04c248b09fc7
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Jun 20 11:21:52 2019 -0400

    ip_endpoint: add sockaddr_as_endpoint() (and address_from_{in,in6}_addr()), test
    
    Since the code both using SET_V[46]() and rooting around in ip_address
    internals can be simplified by using {in,in6}_addr and the above, note
    that the macro as obsolete.



More information about the Swan-commit mailing list