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

D. Hugh Redelmeier hugh at vault.libreswan.fi
Tue Aug 13 04:34:35 UTC 2019


New commits:
commit 93097b6f4edd20be727c2d7e09b276c6d510c8a1
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Tue Aug 13 00:27:30 2019 -0400

    pluto: server.c: create_socket(): simplify port handling
    
    The previous version overwrote ifp->addr's port, used ifp->addr, and
    then rewrote it to pluto_port, but only if the bind call succeeded.
    
    That's confusing and posibly buggy on the bind failure path.
    
    This commit leaves ifp->addr alone and changes the port on a copy.
    
    I don't know if ifp->addr's port matters.  The name "addr" is
    unpleasant to grep for so I didn't.



More information about the Swan-commit mailing list