aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-06-28 18:49:57 +0100
committerMichael Brown <mcb30@etherboot.org>2007-06-28 18:49:57 +0100
commitf13baeb330e8fd51ab657f6eb15df968ec9414d8 (patch)
tree8ffb91b041454db2d41cb0ec117d45d5b23635a6 /src
parentd465ae978556a84fd43380ceca8c55a86b2733fd (diff)
downloadipxe-f13baeb330e8fd51ab657f6eb15df968ec9414d8.zip
ipxe-f13baeb330e8fd51ab657f6eb15df968ec9414d8.tar.gz
ipxe-f13baeb330e8fd51ab657f6eb15df968ec9414d8.tar.bz2
Added missing config.[ch] lines for FTP protocol
Diffstat (limited to 'src')
-rw-r--r--src/config.h1
-rw-r--r--src/core/config.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1e75f46..463d091 100644
--- a/src/config.h
+++ b/src/config.h
@@ -73,6 +73,7 @@
#define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
#undef DOWNLOAD_PROTO_NFS /* Network File System */
#define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
+#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
#undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
#undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
#undef DOWNLOAD_PROTO_FSP /* FSP? */
diff --git a/src/core/config.c b/src/core/config.c
index ac3100a..71f8777 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -91,6 +91,9 @@ REQUIRE_OBJECT ( nfs );
#ifdef DOWNLOAD_PROTO_HTTP
REQUIRE_OBJECT ( http );
#endif
+#ifdef DOWNLOAD_PROTO_FTP
+REQUIRE_OBJECT ( ftp );
+#endif
#ifdef DOWNLOAD_PROTO_TFTM
REQUIRE_OBJECT ( tftm );
#endif