routing getleg/setleg