Added new shared function get_address_info