Made sure that get_interface_by_ip always returned something