diff options
| author | Michael Brown | 2007-08-02 05:36:00 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-08-02 05:36:00 +0200 |
| commit | 67afe84292723e13da02308fc4cf08cf9ab5e0c0 (patch) | |
| tree | 135630b8ed87ad92b7f316c8be4d7122491e06e4 /src/net | |
| parent | Add FEATURE() macro, plus code to display features at startup time, (diff) | |
| download | ipxe-67afe84292723e13da02308fc4cf08cf9ab5e0c0.tar.gz ipxe-67afe84292723e13da02308fc4cf08cf9ab5e0c0.tar.xz ipxe-67afe84292723e13da02308fc4cf08cf9ab5e0c0.zip | |
Use otherwise-useless byte in DHCP feature option as a version number
Diffstat (limited to 'src/net')
| -rw-r--r-- | src/net/aoe.c | 2 | ||||
| -rw-r--r-- | src/net/tcp/http.c | 3 | ||||
| -rw-r--r-- | src/net/tcp/https.c | 3 | ||||
| -rw-r--r-- | src/net/tcp/iscsi.c | 2 |
4 files changed, 8 insertions, 2 deletions
diff --git a/src/net/aoe.c b/src/net/aoe.c index 5536ae8da..2e2199b3f 100644 --- a/src/net/aoe.c +++ b/src/net/aoe.c @@ -40,7 +40,7 @@ * */ -FEATURE ( "AoE", DHCP_EB_FEATURE_AOE ); +FEATURE ( "AoE", DHCP_EB_FEATURE_AOE, 1 ); struct net_protocol aoe_protocol; diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index 727c03334..0aecc7b51 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -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, diff --git a/src/net/tcp/https.c b/src/net/tcp/https.c index 148e4bf01..a59e94dc1 100644 --- a/src/net/tcp/https.c +++ b/src/net/tcp/https.c @@ -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 diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c index 5d8639e7d..a96331a66 100644 --- a/src/net/tcp/iscsi.c +++ b/src/net/tcp/iscsi.c @@ -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; |
