Changed
-
Breaking:
Netv4Addr::addr,Netv4Addr::mask,Netv6Addr::addr, andNetv6Addr::maskall now returnIpv4AddrorIpv6Addrrespectively instead of&Ipv4Addror&Ipv6Addr. -
Breaking: Replaced the
derive'dOrdimpl with our own explicit implementation.
If you were using our old ordering, bare in mind that the behavior has changed.Previously, we just used the derived
Ordcomparison on the underlyingIp<...>Addrstructs in field-wise ordering.
Now, aNet<...>Addrstruct is considered greater than another if itsaddris equal but its mask is greater, or otherwise if itsaddris greater.
For example,1.0.0.0/8<2.0.0.0/8,1.0.0.0/7<1.0.0.0/8, etc. -
Internal fixes for the tests
-
Adjusted CI configuration