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.
This commit is contained in:
Joel Sherrill
2004-09-17 16:38:05 +00:00
parent 506ac56d9f
commit b92e6124dd
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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;