summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2017-03-20 12:58:59 +0100
committerMichael Brown2017-03-20 12:58:59 +0100
commitde2c6fa240fc3b42c91c06775de6a26eb4aa3faf (patch)
tree7cd6c420f74cebdeb73052dd7889620db840c0f2 /src/include
parent[undi] Move PXE API caller back into UNDI driver (diff)
downloadipxe-de2c6fa240fc3b42c91c06775de6a26eb4aa3faf.tar.gz
ipxe-de2c6fa240fc3b42c91c06775de6a26eb4aa3faf.tar.xz
ipxe-de2c6fa240fc3b42c91c06775de6a26eb4aa3faf.zip
[dhcp] Allow vendor class to be changed in DHCP requests
Allow the DHCPv4 vendor class to be specified via the "vendor-class" setting. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h
index 341fc3c7..521efa99 100644
--- a/src/include/ipxe/settings.h
+++ b/src/include/ipxe/settings.h
@@ -468,6 +468,8 @@ busid_setting __setting ( SETTING_NETDEV, busid );
extern const struct setting
user_class_setting __setting ( SETTING_HOST_EXTRA, user-class );
extern const struct setting
+vendor_class_setting __setting ( SETTING_HOST_EXTRA, vendor-class );
+extern const struct setting
manufacturer_setting __setting ( SETTING_HOST_EXTRA, manufacturer );
extern const struct setting
product_setting __setting ( SETTING_HOST_EXTRA, product );