Fix flag reporting, add prio_info for ports.