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