Use otherwise-useless byte in DHCP feature option as a version number
[people/xl0/gpxe.git] / src / net / tcp / http.c
index 727c033..0aecc7b 100644 (file)
 #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,