The flu vaccine does not protect against viral gastroenteritis. Although some people call viral gastroenteritis “stomach flu,” influenza (flu) viruses do not cause viral gastroenteritis. However, rotavirus vaccines can prevent viral gastroenteritis caused by rotavirus. Rotavirus Vaccines
https://www.niddk.nih.gov/health-information/digestive-diseases/viral-gastroenteritis/treatment

