Skip to content

Allow application to set DHCP hostname (option 12) of varying size#175

Open
groupmsl wants to merge 1 commit into
Wiznet:masterfrom
groupmsl:dhcpSetHostname
Open

Allow application to set DHCP hostname (option 12) of varying size#175
groupmsl wants to merge 1 commit into
Wiznet:masterfrom
groupmsl:dhcpSetHostname

Conversation

@groupmsl

@groupmsl groupmsl commented Jul 7, 2026

Copy link
Copy Markdown

At the moment you can't really change the hostname (DHCP) without changing library code.

This PR allows setting the hostname, including those which have a different length to the default.

The specified hostname will still have the last 3 bytes of the MAC address appended to it

No change to default behaviour - this doesn't break existing projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant