[U-Boot-Users] [PATCH] Add client id and class id to dhcp options

Wolfgang Denk wd at denx.de
Mon Sep 26 00:47:44 CEST 2005


In message <424A03F0.7030703 at veriwave.com> you wrote:
> This patch adds the client identifier and class identifier options to 
> dhcp.  The former permits consistent address assignment from servers 
> that key off the client identifier; the latter aids in debugging.
> 
> Index: net/bootp.c
> ===================================================================
> RCS file: /cvsroot/u-boot/u-boot/net/bootp.c,v
> retrieving revision 1.14
> diff -u -r1.14 bootp.c
> --- net/bootp.c 15 Apr 2004 21:48:49 -0000      1.14
> +++ net/bootp.c 30 Mar 2005 01:14:17 -0000
> @@ -378,8 +378,11 @@
>   *     Initialize BOOTP extension fields in the request.
>   */
>  #if (CONFIG_COMMANDS & CFG_CMD_DHCP)
> -static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, 
> IPaddr_t RequestedIP)
> +static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, 
> IPaddr_t RequestedIP,

Your patch is broken and thus unusable as your  mailer  wrapped  long
lines. Please resubmit.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Like winter snow on summer lawn, time past is time gone.




More information about the U-Boot mailing list