Name of bird that sleeps on one leg

Huge numbers of birds do this, most obviously various ducks and waterfowl.