mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
[dhcp] Include gPXE version number within DHCP request
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user