diff options
| author | Michael Brown | 2009-01-08 09:39:05 +0100 |
|---|---|---|
| committer | Michael Brown | 2009-01-08 09:39:05 +0100 |
| commit | ba1016f3786081652fb02707ddc40a557523e3ff (patch) | |
| tree | 4c1a732f12488982c57f2f511958ed7b9affc9cc /src/net | |
| parent | [main] Print an "initialising devices" banner (diff) | |
| download | ipxe-ba1016f3786081652fb02707ddc40a557523e3ff.tar.gz ipxe-ba1016f3786081652fb02707ddc40a557523e3ff.tar.xz ipxe-ba1016f3786081652fb02707ddc40a557523e3ff.zip | |
[dhcp] Include gPXE version number within DHCP request
Diffstat (limited to 'src/net')
| -rw-r--r-- | src/net/udp/dhcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 213478323..2ef8c084d 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -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 */ |
