- Return the
*net.IPNetin canonical form when usingNetworksWithinto look up a network more specific than the one in the database. Previously, theIPfield on the*net.IPNetwould be set to the IP from the lookup network rather than the first IP of the network. NetworksWithinwill now correctly handle an*net.IPNetparameter that is not in canonical form. This issue would only occur if the*net.IPNetwas manually constructed, asnet.ParseCIDRreturns the value in canonical form even if the input string is not.