summaryrefslogtreecommitdiffstats
path: root/src/net/udp/tftp.c
diff options
context:
space:
mode:
authorMichael Brown2007-08-02 15:51:03 +0200
committerMichael Brown2007-08-02 15:51:03 +0200
commit9fd6a0418f38461d6d87f2c88785028d65fd6a1c (patch)
treebfd75ca6c34652464d2e9b02fe4cc06b210e444c /src/net/udp/tftp.c
parentUse otherwise-useless byte in DHCP feature option as a version number (diff)
downloadipxe-9fd6a0418f38461d6d87f2c88785028d65fd6a1c.tar.gz
ipxe-9fd6a0418f38461d6d87f2c88785028d65fd6a1c.tar.xz
ipxe-9fd6a0418f38461d6d87f2c88785028d65fd6a1c.zip
Allowed zero-cost enforced ordering of features in startup banner
list. Added FEATURE() macros to most relevant (non-driver) files.
Diffstat (limited to 'src/net/udp/tftp.c')
-rw-r--r--src/net/udp/tftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c
index 106c7047..ea4d1df3 100644
--- a/src/net/udp/tftp.c
+++ b/src/net/udp/tftp.c
@@ -30,6 +30,7 @@
#include <gpxe/uri.h>
#include <gpxe/tcpip.h>
#include <gpxe/retry.h>
+#include <gpxe/features.h>
#include <gpxe/tftp.h>
/** @file
@@ -38,6 +39,8 @@
*
*/
+FEATURE ( FEATURE_PROTOCOL, "TFTP", DHCP_EB_FEATURE_TFTP, 1 );
+
/**
* A TFTP request
*