Origin of this DHCP Patch

Joel Sherrill joel.sherrill at OARcorp.com
Sat Feb 18 16:46:02 UTC 2012


Hi,

I was switching one of my home machines from using
RTEMS CVS to RTEMS Git and found an uncommitted patch
which does not appear to be on the master or 4.10.

I would like to give proper credit for this when I commit it.
Can someone point me to the PR or mailing list entry it
came from?

Thanks.

--joel

$ cvs diff -u cpukit/libnetworking/rtems/rtems_dhcp.c
Index: cpukit/libnetworking/rtems/rtems_dhcp.c
===================================================================
RCS file: /usr1/CVS/rtems/cpukit/libnetworking/rtems/rtems_dhcp.c,v
retrieving revision 1.10
diff -u -r1.10 rtems_dhcp.c
--- cpukit/libnetworking/rtems/rtems_dhcp.c    8 Dec 2011 05:09:04 
-0000    1.10
+++ cpukit/libnetworking/rtems/rtems_dhcp.c    18 Feb 2012 16:23:17 -0000
@@ -1086,7 +1086,7 @@

        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;

Can some



More information about the devel mailing list