What happens between old yeller and the wolf in old yeller?

the wolf had rabies so when it bites old yeller travis must shoot him(old yeller) so sad :(