mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
Use otherwise-useless byte in DHCP feature option as a version number
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FEATURE ( "AoE", DHCP_EB_FEATURE_AOE );
|
||||
FEATURE ( "AoE", DHCP_EB_FEATURE_AOE, 1 );
|
||||
|
||||
struct net_protocol aoe_protocol;
|
||||
|
||||
|
||||
@@ -40,8 +40,11 @@
|
||||
#include <gpxe/tcpip.h>
|
||||
#include <gpxe/process.h>
|
||||
#include <gpxe/linebuf.h>
|
||||
#include <gpxe/features.h>
|
||||
#include <gpxe/http.h>
|
||||
|
||||
FEATURE ( "HTTP", DHCP_EB_FEATURE_HTTP, 1 );
|
||||
|
||||
/** HTTP receive state */
|
||||
enum http_rx_state {
|
||||
HTTP_RX_RESPONSE = 0,
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
#include <gpxe/open.h>
|
||||
#include <gpxe/tls.h>
|
||||
#include <gpxe/http.h>
|
||||
#include <gpxe/features.h>
|
||||
|
||||
FEATURE ( "HTTPS", DHCP_EB_FEATURE_HTTPS, 1 );
|
||||
|
||||
/**
|
||||
* Initiate an HTTPS connection
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FEATURE ( "iSCSI", DHCP_EB_FEATURE_ISCSI );
|
||||
FEATURE ( "iSCSI", DHCP_EB_FEATURE_ISCSI, 1 );
|
||||
|
||||
/** iSCSI initiator name (explicitly specified) */
|
||||
static char *iscsi_explicit_initiator_iqn;
|
||||
|
||||
Reference in New Issue
Block a user