Misuse of Framed-IPv6-Prefix in RADIUS hook code
The Framed-IPv6-Prefix is for configuring SLAAC / Router Advertisements so has nothing to do with DHCP. The right attribute is Delegated-IPv6-Prefix according to https://datatracker.ietf.org/doc/html/rfc6911