flex-id - Better printing of non-printable charaters. (FLEX_ID_EXPRESSION_EVALUATED)
name: Bug report
about: flex-id
Describe the bug when the result of the flex-id hook is a mac address the log file display the result bad.
To Reproduce configure flex-id with the following config: "identifier-expression": "substring(relay4[2].hex,0,18)"
this is the result: INFO [kea-dhcp4.flex-id/7886] FLEX_ID_EXPRESSION_EVALUATED Expression evaluated for packet to "¨^Qü<98>íÉ" (size: 6)
Expected behavior the mac address will be logged currectly
Environment: kea 1-4-0_p1 centos 7