Searched refs:ip_2 (Results 1 – 1 of 1) sorted by relevance
2494 def is_in_same_subnet(ip_1, ip_2, mask_bits=24): argument2508 ip_2_num = struct.unpack('!I', socket.inet_aton(ip_2))[0]