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.
This commit is contained in:
Joel Sherrill
2004-09-17 16:39:44 +00:00
parent 7df6efc566
commit 6d380c7aea
2 changed files with 7 additions and 1 deletions

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;