How to get the result of a DHCPv6 client request for an option ?

I would need to get the result of a DHCPv6 client request for option 94 (MAP-E container).

Is there a way to get that in a script ?

I’m able to successfully request this option through Option 6, and i get a correct answer from the server.

in https://wiki.mikrotik.com/wiki/Manual:IPv6/DHCP_Client it mentions an options array as being one of the variables supplied to the script.

This looks like it might actually be present but using it will take some effort/ may not be doable.
It appears to mostly be binary.

my script
/log info $options

Thanks i’m going to try that. I was able to save the array to a file and compare it with a Wireshark capture. The data seems correct.

But probably not so easy to parse and manipulate to get the MAP-E tunnel settings because there is some bit level handling to do.