Skip to content

DHCP client with client-id does not work #899

@troglobit

Description

@troglobit

Current Behavior

Setting up a DHCP client with client ID does not work:

  1. The format of option 61 is missing the htype
  2. The payload of option 61 is cut short

Example:

  "infix-dhcp-client:dhcp-client": {
    "client-if": [
      {
        "if-name": "e5",
        "client-id": "xyzzy"
      }
    ]
  },

The resulting option 61 is encoded as: [ 61 | 03 | 78 | 79 | 7a ]

Expected Behavior

The resulting option 61 is encoded as: [ 61 | 06 | 00 | 78 | 79 | 7a | 7a | 79 ]

Steps To Reproduce

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions