implemented get_iface() using RTM_GETADDR