removed unused function get_iface_to_addr and get_priv_info