summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/nfs/bootp_subr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-17 16:39:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-17 16:39:44 +0000
commit6d380c7aeaa6ec98abfb604cc4eaa699905ac1d7 (patch)
treeedfb052a167a74fec9431385c00acb1166f84287 /cpukit/libnetworking/nfs/bootp_subr.c
parent2004-09-15 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-6d380c7aeaa6ec98abfb604cc4eaa699905ac1d7.tar.bz2
2004-09-17 Till Strauman <strauman@slac.stanford.edu>
PR 676/networking * libnetworking/nfs/bootp_subr.c: /etc/resolv.conf contains NTP instead of DNS servers.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/nfs/bootp_subr.c2
1 files changed, 1 insertions, 1 deletions
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;