diff options
author | Michael Brown | 2007-08-02 15:51:03 +0200 |
---|---|---|
committer | Michael Brown | 2007-08-02 15:51:03 +0200 |
commit | 9fd6a0418f38461d6d87f2c88785028d65fd6a1c (patch) | |
tree | bfd75ca6c34652464d2e9b02fe4cc06b210e444c /src/net/udp/tftp.c | |
parent | Use otherwise-useless byte in DHCP feature option as a version number (diff) | |
download | ipxe-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.c | 3 |
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 * |