Fact 1: Passive immunity lasts only as long as the antibodies survive in body fluids. 
Fact 2: Breastfeeding provides passive and likely long-lasting active immunity.
What breastfeeding provides lasts only as long as the antibodies survive in body fluids.