BOSTON (AP) - Logan Thomas threw for two touchdowns - the second a 7-yarder to Randall Dunn in overtime - and ran for another score to help Virginia Tech keep its bowl hopes alive with a 30-23 comeback win over Boston College on Saturday.

The Hokies (5-6, 3-4 Atlantic Coast Conference) need to beat rival Virginia at home next Saturday to become bowl-eligible for the 20th straight season.

The Eagles (2-9, 1-6) look to avoid matching their worst record since 1989 next week at North Carolina State.

The victory snapped Virginia Tech's seven-game losing streak away from Lane Stadium. It was the longest since nine straight in coach Frank Beamer's first two seasons - 1987-88.

Thomas completed 16 of 33 passes for 247 yards.

Rolandan Finch rushed 26 times for 133 yards for BC, and Chase Rettig was 13 of 30 for 129 yards and one TD.