summaryrefslogtreecommitdiffstats
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
parent2000-12-14 Eric Norum <eric.norum@usask.ca> (diff)
downloadnetwork-demos-d37a99d444fcadc7574cab26cf9c081e7d0c6ab3.tar.bz2
2000-12-14 Eric Norum <eric.norum@usask.ca>
* networkconfig.h: Default to using bootp host for tftp test.
-rw-r--r--ChangeLog4
-rw-r--r--networkconfig.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a59d16..d3cbe2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-14 Eric Norum <eric.norum@usask.ca>
+
+ * networkconfig.h: Default to using bootp host for tftp test.
+
2000-12-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.
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