Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 562
    • Issues 562
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 70
    • Merge requests 70
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #21
Closed
Open
Issue created Aug 17, 2018 by Ghost User@ghost

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

Edited Nov 07, 2018 by Tomek Mrugalski
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking