New commits:
commit 93097b6f4edd20be727c2d7e09b276c6d510c8a1
Author: D. Hugh Redelmeier <h...@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.

_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to