Updated

Tyler Ennis scored two goals to lift the Buffalo Sabres to a 5-2 victory over the Anaheim Ducks on Tuesday night.

Ryan Miller, making his 11th straight start, earned his 199th NHL win. His shutout bid was spoiled when Corey Perry scored a power-play goal with 4:24 to go in regulation. Miller finished with 21 saves.

Craig Rivet had a goal and assist, Drew Stafford and Nathan Gerbe also scored, and Derek Roy and Jordan Leopold added a pair of assists each for the Sabres, who rebounded from consecutive losses to Florida and Tampa Bay over the weekend.

Perry added a second goal, and backup Curtis McElhinney made 37 saves for Anaheim.

The Ducks, who won 3-0 at Boston on Monday, lost for the first time in five meetings with the Sabres. Anaheim went 2-3 on its road trip and will be off until after the Christmas break.

McElhinney made his eighth start of the season in place of No. 1 goalie Jonas Hiller, who has played an NHL-high 32 games.

The Sabres scored three goals in the first period and stretched their lead to 4-0 on Ennis' second of the game and ninth of the season at 4:40 of the second. The rookie wristed a shot into the top-left corner from the left circle.

Stafford made it 1-0 with his ninth of the season on the power play 4:43 into the game. Following a nifty give-and-go with Roy in the left circle, Stafford slipped a backhander along the ice and between McElhinney's legs.

Gerbe doubled the lead with his first this season, putting in a rebound from the slot.

Anaheim forward Jason Blake was then given a major penalty and was ejected after he hit Sabres forward Patrick Kaleta into the boards from behind with 6:24 left in the first. Ennis capitalized on the long power play with 3:03 to go to make it 3-0. He scored off a rebound of Andrej Sekera's initial shot from the top of the right circle.

Rivet made it 5-1 with his first with 2:57 left in the game. Perry capped the scoring with a power-play goal with 9 seconds remaining.

NOTES: The Ducks recalled LW Josh Green from Syracuse of the AHL after C Nick Bonino injured a foot against Boston. He day-to-day. ... Sabres C Tim Connolly missed the game due to a fractured nose sustained against Tampa Bay on Saturday. He will be out at least a week. ... Rivet, Buffalo's captain, returned after being a healthy scratch for 11 straight games. ... Miller got engaged over the weekend to Noureen DeWulf. ... Ducks captain Ryan Getzlaf and Sabres C Cody McCormick fought immediately after the opening faceoff in the second period. Five seconds later, Anaheim's Kyle Chipchura and Buffalo's Paul Gaustad also fought.