Origin of this DHCP Patch

Sébastien Bourdeauducq sebastien at milkymist.org
Sat Feb 18 16:45:40 UTC 2012


Hi,

I guess it has to do with PR 1841?

Regards,
Sébastien


On 02/18/2012 05:46 PM, Joel Sherrill wrote:
> 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
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list