The ldpd template treats the ttl_security leaf as a dict, so ttl-security disable renders an invalid FRR command.
Location
data/templates/frr/ldpd.frr.j2:22-25
interface-definitions/protocols_mpls.xml.in:80
Problem
ttl_security is a leaf string; .disable is undefined.