Can mastitis feel like the flu??

I’m having flu-like symptoms but I got my flu shot (I know it’s not 100% effective). The doctor didn’t have any flu tests, but confirmed mastitis.

Could this explain the flu symptoms or is it likely I probably have the flu in addition to mastitis?