Linus Ullmark stopped 31 shots and the Buffalo Sabres snapped a historic 18-game skid with a 6-1 win over the Philadelphia Flyers.