[dhcp] Include gPXE version number within DHCP request

This commit is contained in:
Michael Brown
2009-01-08 08:39:05 +00:00
parent 3e220aa73e
commit ba1016f378
4 changed files with 21 additions and 10 deletions

View File

@@ -38,6 +38,7 @@
#include <gpxe/dhcp.h>
#include <gpxe/dhcpopts.h>
#include <gpxe/dhcppkt.h>
#include <gpxe/features.h>
/** @file
*
@@ -93,6 +94,9 @@ static struct dhcp_options dhcp_request_options = {
static uint8_t dhcp_features[0] __table_start ( uint8_t, dhcp_features );
static uint8_t dhcp_features_end[0] __table_end ( uint8_t, dhcp_features );
/** Version number feature */
FEATURE_VERSION ( VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH );
/** DHCP network device descriptor */
struct dhcp_netdev_desc {
/** Bus type ID */