summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-14 23:06:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-14 23:06:34 +0000
commit5538df4681e2cb126bc4c5762884e0943a59bdde (patch)
treef8207807bfa32f1659404c9e62c843bb3218539a
parent7bd2c062b62a63393f5011379f2a98a62026b6b1 (diff)
2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* networkconfig.h: Loopback only network configuration tweaked to have a hostname.
-rw-r--r--ChangeLog5
-rw-r--r--networkconfig.h13
2 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d33c51b..334dfc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * networkconfig.h: Loopback only network configuration tweaked to have
+ a hostname.
+
+2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* networkconfig.h: Loopback only network configuration. Use one of the
real ones as an example.
diff --git a/networkconfig.h b/networkconfig.h
index 75d0e12..4ff3dd5 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -44,10 +44,15 @@ static struct rtems_bsdnet_ifconfig netdriver_config = {
*/
struct rtems_bsdnet_config rtems_bsdnet_config = {
&netdriver_config,
- NULL, /* do not use bootp */
- 0, /* Default network task priority */
- 0, /* Default mbuf capacity */
- 0, /* Default mbuf cluster capacity */
+ NULL, /* do not use bootp */
+ 0, /* Default network task priority */
+ 0, /* Default mbuf capacity */
+ 0, /* Default mbuf cluster capacity */
+ "rtems", /* Host name */
+ "nodomain.com", /* Domain name */
+ "127.0.0.1", /* Gateway */
+ "127.0.0.1", /* Log host */
+ {"127.0.0.1" }, /* Name server(s) */
};
/*