Skip to content

v1.8.0

Choose a tag to compare

@mlocati mlocati released this 30 Jul 16:33
c8d6d1f
  • New method: IPLib\Range\Pattern::asSubnet() to convert pattern ranges (eg 192.168.0.*) to subnet/CIDR ranges (eg `192.168.0.0/24)
  • New method: IPLib\Range\Subnet::asPattern() to convert subnet/CIDR ranges (eg 192.168.0.0/24) to pattern ranges (eg 192.168.0.*)
  • New method for all the range types (getSubnetMask()) to retrieve the subnet mask (only for IPv4 ranges)