Variable renamed in net2_get_ip_of_socket function to match with argument name.