david chamaillard

Results 1 comments of david chamaillard

Quick Fix possible: from ipaddress import ip_address,ip_network def is_on_the_same_subnet(ip, net): ip_netw = ip_network(net, strict=False) ip_addr = ip_address(ip) return ip_addr in ip_netw