mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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>
|
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
PR 626/networking
|
PR 626/networking
|
||||||
|
|||||||
@@ -1147,7 +1147,7 @@ bootpc_init(int update_files)
|
|||||||
|
|
||||||
for (i = 0; i < rtems_bsdnet_nameserver_count; i++) {
|
for (i = 0; i < rtems_bsdnet_nameserver_count; i++) {
|
||||||
strcpy(buf, "nameserver ");
|
strcpy(buf, "nameserver ");
|
||||||
strcat(buf, inet_ntoa(rtems_bsdnet_ntpserver[i]));
|
strcat(buf, inet_ntoa(rtems_bsdnet_nameserver[i]));
|
||||||
strcat(buf, "\n");
|
strcat(buf, "\n");
|
||||||
if (rtems_rootfs_file_append ("/etc/resolv.conf", MKFILE_MODE, 1, bufl))
|
if (rtems_rootfs_file_append ("/etc/resolv.conf", MKFILE_MODE, 1, bufl))
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user