[Dnsmasq-discuss] dhcp-option=encap:43, 0

Nect nectarboi at gmail.com
Fri Apr 19 18:05:43 BST 2013


Thanks. Patch worked.

-Eddie


On Fri, Apr 19, 2013 at 4:00 AM, <
dnsmasq-discuss-request at lists.thekelleys.org.uk> wrote:
>
> Message: 5
> Date: Fri, 19 Apr 2013 10:28:12 +0100
> From: Simon Kelley <simon at thekelleys.org.uk>
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] dhcp-option=encap:43, 0
> Message-ID: <51710E2C.302 at thekelleys.org.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 18/04/13 21:12, Nect wrote:
> > Hello,
> >   It appears that Dnsmasq thinks that sub-option zero is not a valid
> option.
> > It returns a "bad dhcp-option" and will not start. The reason why I need
> > it, is for Juniper switches:
> >
> http://www.juniper.net/techpubs/en_US/junos12.3/topics/task/configuration/software-image-and-configuration-automatic-provisioning-confguring.html
> >
> > The ISC DHCP configuration works. The reason why:
> > On line 758  in option.c:  new->opt = 0;
> > Then:
> >   860   if (new->opt == 0)
> >   861     ret_err(_("bad dhcp-option"));
> >
> > Maybe set new->opt to something other than zero?
> >
> > Thanks,
> > -Eddie
> >
>
>
> Good point.
>
> http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.67test1.tar.gz
>
> should fix this.
>
>
> Cheers,
>
> Simon.
>
>
>
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130419/e375c5b5/attachment.html>


More information about the Dnsmasq-discuss mailing list