networkd: dhcp add vendor class indentifier option 60
Vendor Class Identifier be used by DHCP clients to identify their vendor type and configuration. When using this option, vendors can define their own specific identifier values, such as to convey a particular hardware or operating system configuration or other identifying information. Vendor-specified DHCP options—features that let administrators assign separate options to clients with similar configuration requirements. For example, if DHCP-aware clients for example we want to separate different gateway and option for different set of people (dev/test/hr/finance) in a org or devices for example web/database servers or let's say in a embedded device etc and require a different default gateway or DNS server than the rest of clients.
This commit is contained in:
committed by
Tom Gundersen
parent
5d8e593dce
commit
edb85f0d8d
@@ -166,6 +166,7 @@ void network_free(Network *network) {
|
||||
free(network->match_name);
|
||||
|
||||
free(network->description);
|
||||
free(network->dhcp_vendor_class_identifier);
|
||||
|
||||
while ((address = network->ntp)) {
|
||||
LIST_REMOVE(addresses, network->ntp, address);
|
||||
|
||||
Reference in New Issue
Block a user