iflist: fixed to use proper kind mapping, cleanup