summaryrefslogtreecommitdiff
path: root/networkconfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-14 14:17:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-14 14:17:42 +0000
commitd37a99d444fcadc7574cab26cf9c081e7d0c6ab3 (patch)
tree18274e1cbb23e4db5242dac66464550616f1218b /networkconfig.h
parentd8a2e924ccde7eb2c16d518d37c63b7c272e6095 (diff)
2000-12-14 Eric Norum <eric.norum@usask.ca>
* networkconfig.h: Default to using bootp host for tftp test.
Diffstat (limited to 'networkconfig.h')
-rw-r--r--networkconfig.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/networkconfig.h b/networkconfig.h
index 93a1c0b..e0b1bf5 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -126,7 +126,10 @@ struct rtems_bsdnet_config rtems_bsdnet_config = {
/*
* For TFTP test application
*/
-#if (!defined (RTEMS_USE_BOOTP))
+#if (defined (RTEMS_USE_BOOTP))
+#define RTEMS_TFTP_TEST_HOST_NAME "BOOTP_HOST"
+#define RTEMS_TFTP_TEST_FILE_NAME "BOOTP_FILE"
+#else
#define RTEMS_TFTP_TEST_HOST_NAME "XXX.YYY.ZZZ.XYZ"
#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
#endif