Skip to content

2.0.3

Compare
Choose a tag to compare
@c-robinson c-robinson released this 06 Jan 23:39
· 5 commits to main since this release

v2.0.2...v2.0.3

  • New AllNetworksBetween() function generates a []iplib.Net of all the networks required to span two IP addresses inclusively
  • Fix the behavior of NewNetBetween() to always consider the final address when generating a netblock Previously it would sometimes exclude this address when it should not have
  • Update the godoc for NewNetBetween() to reflect reality. Previously the docs indicated that the generated network would be exclusive of both the start and end addresses which was just wrong and kind of dumb
  • Fix regression where Net6.Count() reported zero addresses for ::/0 instead of whatever the actual gimungous number is, which was introduced during the cutover to Uint128