Make function return correct address info for respective family