Legbinder
From wipipedia.org

A legbinder is a device for binding someone's legs together. It may consist of a narrow sack or tube, or a series of straps, either attached to trousers or linked in some other way to avoid the straps slipping down the legs.
Legbinders are often made of leather, rubber, calico/denim and metal.