Leg mount for foldable garten table

My parents ask, if I can help. They have this table for the terrace and the mounting brackets are brocken. So I designed them in and printed them new ones.
The pipe of the table legs have a diameter of 29,3 mm.