New commits:
commit a87fc6efbe3e50cb34b64ce57fcce1f771dc72eb
Author: Andrew Cagney <cag...@gnu.org>
Date:   Wed Sep 4 09:25:12 2019 -0400

    ip: replace portof() with subnet_[hn]port()
    
    Where portof() returns a network-ordered short.
    
    portof(subnet->addr) => subnet_nport(subnet)
    ntohs(portof(subnet->addr) => subnet_hport(subnet)
    portof(a) == portof(b) => subnet_hport(a) == subnet_hport(b)
    (lets assume that one day ports will be stored in host order)

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

Reply via email to