summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-17 16:38:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-17 16:38:05 +0000
commitb92e6124ddf7a0d43e0e0840ad4a277075c8a05b (patch)
tree931edc08da1a1c144fcdff23ea53a45a6e42b711
parent2004-09-06 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-b92e6124ddf7a0d43e0e0840ad4a277075c8a05b.tar.bz2
2004-09-17 Till Strauman <strauman@slac.stanford.edu>
PR 676/networking * nfs/bootp_subr.c: /etc/resolv.conf contains NTP instead of DNS servers.
-rw-r--r--cpukit/libnetworking/ChangeLog6
-rw-r--r--cpukit/libnetworking/nfs/bootp_subr.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index 89a5290d64..35090b2cf4 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-17 Till Strauman <strauman@slac.stanford.edu>
+
+ PR 676/networking
+ * nfs/bootp_subr.c: /etc/resolv.conf contains NTP instead of DNS
+ servers.
+
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
PR 626/networking
diff --git a/cpukit/libnetworking/nfs/bootp_subr.c b/cpukit/libnetworking/nfs/bootp_subr.c
index 7328a21f2c..ab09a2d7c1 100644
--- a/cpukit/libnetworking/nfs/bootp_subr.c
+++ b/cpukit/libnetworking/nfs/bootp_subr.c
@@ -1147,7 +1147,7 @@ bootpc_init(int update_files)
for (i = 0; i < rtems_bsdnet_nameserver_count; i++) {
strcpy(buf, "nameserver ");
- strcat(buf, inet_ntoa(rtems_bsdnet_ntpserver[i]));
+ strcat(buf, inet_ntoa(rtems_bsdnet_nameserver[i]));
strcat(buf, "\n");
if (rtems_rootfs_file_append ("/etc/resolv.conf", MKFILE_MODE, 1, bufl))
break;