fixed the calculation of subnets with ip_addresses - close #19