A 20-year-old Dayton man has learned how long he’ll spend in federal prison for a shootout at the University of Dayton.