Adding Vendor-ID in DHCP options

Hello,

I have patched the DHCP client of the ioLibrary to add a small new feature.

The Vendor Class Identifier is a constant string that identifies the kind of hardware that asks the DHCP server for a IP address. The ID is passed via the option 60 of the DHCP messages.
From a DHCP server point of view, this ID is useful for giving specific configuration for Wiznet modules : IP address from different address pool, different gateway, longer lease, etc.

In my patch, the ID is set to “WIZnetSE” constant.

Reference documentation :

I have made two pull requests :

  1. on the ioLibrary project
    Added Vendor Class Identifier in DHCP offers and requests. by kbenyous · Pull Request #118 · Wiznet/ioLibrary_Driver · GitHub
  2. on the Wiz750SR project
    Added Vendor Class Identifier in DHCP offers and requests. by kbenyous · Pull Request #22 · Wiznet/WIZ750SR · GitHub

Are you interested in merging this feature?

Thank you.
Kind regards,
Karim