[BUG] fix typo in get_if_ip_for_net