I'm not sure, if Mr. Salzenberg's implementation is correct.
I don't know, if the BOOTP record uses '\0' termnated strings.
In my patch I used the length information (p + 1), the byte after
the token 150 formy tests, and this work.

With friendly regards
        Christoph Plattner



OKUJI Yoshinori wrote:
> 
> From: Chip Salzenberg <[EMAIL PROTECTED]>
> Subject: [PATCH] DHCP option 150 = config file (untested)
> Date: Mon, 5 Jun 2000 19:38:46 -0700
> 
> > Here's a so-far-untested patch that should make GRUB use BOOTP/DHCP
> > vendor attribute 150 to specify the name of the configuration file to
> > use.
> 
>   Thanks for your contribution. Unfortunately, however, I had already
> implemented the feature, just not having checked in my patch to CVS,
> since I was too busy to test it. But your patch was useful, as I could
> find a bug in my patch when seeing your patch. :-)
> 
> Okuji

Reply via email to