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

Andrew Cagney cagney at vault.libreswan.fi
Mon Mar 15 19:33:15 UTC 2021


New commits:
commit 01f909a68934022badb60d29e7160862f4e64d26
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Mar 15 15:08:17 2021 -0400

    ip: update ip_subnet
    
    - eliminate samesubnet() addrinsubnet(), subnetinsubnet(), subnetishost()
    - prefer value parameters
    - replace <<subnetishost() && addrinsubnet()>> with subnet_is_address()
      While:
          subnet_is_address(::/128, ::) == true
      seems unusual it does preserve the old code's behaviour.
      Something to think about.
    - test in/eq/contains, expect current behaviour no matter how ...
      unexpeced



More information about the Swan-commit mailing list