I found this table on the curb a while back, less the leg hardware. No a relative could use it, and I’m wondering how to fix it up.
Cut a couple 2x4 sections to fill the truncated-triangular area and screw through them into all surfaces?
The legs have a hollow center drilled out, at the top, so I assume some metal piece with threaded holes fit there, and a metal plate anchored that to the skirt (?).
Another view:



Cut a 2x4 to fit in the corner then buy two screws which will fit in the existing table leg holes. Screw the 2x4 to the leg and call it a day.
Or use a Craig jig and drill some pocket holes and screw or together.