New commits:
commit 2968d969e58a620cd70395717e369ca2228d7361
Author: Andrew Cagney <cag...@gnu.org>
Date:   Wed Dec 30 17:03:41 2020 -0500

    ip: eliminate isanyaddr()
    
    Follow-up 4fb0dc5ff36163a34a284a0b86e7d36520b5d5d7 by inlining the
    simplified expression at all call sites.
    
    This way "any" only means %any(0.0.0.0) or %any6(::) and not an
    "unset" address.
    
    This also exposes some redundancy, vis:
    
                    if (address_type(&c->spd.this.host_srcip) == NULL ||
    +                   address_is_unset(&c->spd.this.host_srcip) ||
    +                   address_eq_any(&c->spd.this.host_srcip)) {
    
    the checks address_type()==NULL and address_is_unset() are equivalent.

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

Reply via email to