Mombasa, Kenya - Dozens of women demonstrated in Kenya's capital on Tuesday against what they say is discrimination against mothers who breastfeed in public.

The demonstration was prompted by a Facebook post earlier this month that saw user Betty Kim accuse an upmarket Nairobi restaurant of discrimination after she was asked by a waiter to cover up as she was breastfeeding her baby.

Women's groups and mothers with babies participated in the march on Tuesday, with some carrying placards reading "Respect nursing mothers" and "Breastfeeding mothers have a right."

Activist Mildred Awiso said restaurant case was not an isolated incident, and called for "punitive measures to ensure that there is action taken against those infringing the breastfeeding right."

Last year, the Kenyan parliament passed a health bill containing a clause stipulating that employers establish a lactation room for breastfeeding mothers and stating that women be allowed breastfeeding breaks every four hours.

In rural parts of Africa it is not uncommon to see women openly breastfeeding, but in westernized urban areas it has become somewhat taboo.

With infant mortality still a problem across the continent, the World Health Organization proposes breastfeeding for the first six months in order to achieve optimal growth and development.